gain the wind

Verb

 * 1)  To reach the windward side of another ship.