she ascended the ladder that led back to the pilothouse and detached the flare gun from its position on the wall , and was preparing to insert a flare into its fat barrel when she heard a thump from the stern .