However it seems prudent to pay attention to the design details during construction given that they can provide a theoretical option for self rescue at negligable extra cost. The centers of gravity and bouyancy and the physics say it should be doable. That said here is how it is supposed to work. First off we plan for a bit of habitability when upside down. There is an access hatch at the bottom of the wet locker to get out onto the bridge deck.
Tie points are in place to rig hammocks to get out of the water down below.
A few waterproof flashlights are kept below. The fuel and batteries are all out in cockpit lockers and any leakage should stay out there. When the weather is ok for righting we give it a try. The actual righting method involves stern over bow righting. The bows are flooded and submersed which puts the stern into the air, then the stern is pulled down to the surface.