The sail is hoisted by a halyard attached by a ring to the head of the sail.
From the en.wikipedia.org
The sheet is attached to the lower spar, and the halyard to the upper spar.
From the en.wikipedia.org
One has to credit the Navy with airing its dirty laundry from the halyard, for all to see.
From the battleland.blogs.time.com
The bow man jumps into the forward hatch and hooks in the guy, sheet and halyard to the spinnaker.
From the time.com
The peak halyard, used to hoist the main sail, had disappeared.
From the en.wikipedia.org
Consequently we had the halyard on a winch for the entire day.
From the nznewsuk.co.uk
Advertising signs should not be attached to the staff or halyard.
From the stltoday.com
Its halyard has caught on something up the mast and crewman Adam Beashel is sent skywards to free the wretched cable.
From the nzherald.co.nz
Halyard first joined the United States Army in 1984.
From the huffingtonpost.com
More examples
A rope for raising or lowering a sail or flag
A rope used to raise or lower a sail, flag, spar or yard
(HALYARDS) The lines used to raise and lower the sails. External halyards are located outside the mast; internal halyards pass through the inside of a hollow mast. ...
(Halyards) The ropes used to hoist sails.
(Halyards) The ropes and tackles used for hoisting sails (also halliards from haul-yards)
(Halyards) lines used to haul up the sail and the wooden poles (boom and gaff) that hold the sails in place.
Utility rope for raising or lowering moving parts of extension ladder.
The rope or cable used to affix the flag snaps to the flag for raising and lowering. Can be placed externally for convenience or internally for security. Choosing an external or internal design is among the first choices you will make when buying a flagpole.