In nautical terms 'the heads' means the toilets but I'm not certain that's what it means here. Could be the headlands, or entrance to the port.
'Best ship to harbour' sounds like fastest ship to harbour. Lowering the sails means putting on speed by harnessing the wind.
Last example has me beat, maybe someone with a bit of seafaring knowledge might know.