The sailor was ordered to climb the admiral's mast to fix the rigging.
The flag was hoisted high on the admiral's mast as a sign of victory.