Gain-the-wind Definition

verb

(nautical) To reach the windward side of another ship.

Wiktionary