Never sink your ship more then 5 times in 10 mins otherwise they make you work for one of the shipwrights for an hour.
Only way to prevent it is on the fifth time you are about to sink run around your boat 20 times while jumping up and down yelling "im a big pirate i can swim"