Jake is correct. And it helps for the crew to sit on the back of the boat to depress it into the water as much as possible to make it right faster and more easily -- and keep the righting line centered as much as possible.

To right a boat head over heels like that, the boat should be pointed downwind (sterns facing the wind), and the tow boat should be pointed upwind. Then when the boat is righted, it will be pointed into the wind and won't take off chasing the tow boat <img src="http://www.catsailor.com/forums/images/graemlins/shocked.gif" alt="" />.

It is also best to not have too long a tow line from the pulling boat. The longer the tow line, the harder to keep it centered and keep an even pull on the boat during the righting process.