So I have just finished Sole Survivor by Dyspneic, and it reminded me of a story I read years ago ...
Set in 17th (or possibly 18th century) Royal Navy warship is wrecked in a storm - Survivor comes to on a beach (of course) and eventually meets a French Captain. Marries native woman. Uses cannon mounted on the wreck to sink Pirate ship. Can't remember if he returned to England or remains on the island.
Help me Obiwan !
Regards G_R