There is a common belief that ship captains have historically been, and currently are, able to perform marriages. Although this depends on the country of registry, ship captains are not, and have never been, permitted to perform marriages in the US.

What's the best answer to this question: can a captain of a ship marry you?
no