In the first story, during the second mission, Tortuga, get a flame off the gate and go back to the cannon. Press B to enter the cannon. Instead of firing it at the gate, instead aim directly at the ground and keep firing. This way, if you accidentally exit the cannon, you won't need to find another flame (which respawn back at the gate).