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