Etymology
Today it means: The yard of the mainmast, from which the mainsail is hung Full definition →
From main + yard.
Etymology from Wiktionary, CC BY-SA 4.0.