Etymology
Today it means: A harbourmaster in charge of a quay Full definition →
From quay + master.
Etymology from Wiktionary, CC BY-SA 4.0.