Etymology
Today it means: Response to ahoy if a commissioned officer is in the boat. Full definition →
Reduplication of aye (“yes”).
Etymology from Wiktionary, CC BY-SA 4.0.