I agree with Vinnie that it is possible to keep the boat from continuing on over as you right it. What I do is to quickly get over to the down hull and hold on. It isn't difficult.

As to the jib trick, move the jib traveler down toward the down hull. Pull the jib sheet through the block to get it tight but ahead of the jam cleat so that when you let it go, it will let the jib loose. It will trap wind and help lift the mast. To work, the mast has to be about 45 deg. from directly into the wind. As the boat comes up, let go of the jib sheet and get to the downwind hull to keep the boat from going on over.

I am talking about a Hobie 16.

Howard