I seem to remember someone making an automatic inflatable bag for the mastheads of boats that won't self-right.. much like the inflatable collars many of us wear these days.
Put the mast in the water, the bag deploys and prevents turtleing.
1984 Fast/Nicholson 345 "FastForward"
".. there is much you could do at sea with common sense.. and very little you could do without it.."
Capt G E Ericson (from "The Cruel Sea" by Nicholas Monsarrat)