One of the worst things that can happen is for the crew to become entangled as the boat inverts. It is much better to avoid this problem than to solve it. Consider how you would deal with entanglements on your particular boat. Know your boat. Under what circumstances will it invert? How quickly? Is there an air gap?
During training, you will often see masthead flotation being used. This can reduce the likelihood of inversion, and it’s also used outside of high- performance sailing. However, if you are looking to race or train away from this environment, it is essential you learn to deal with inversions in safe surroundings. Always practise a full inversion without masthead flotation prior to a regatta.