Much has been written about William Shakespeare's nautical bent, even a few claims of (proto)shanties, but I've not read anything that would qualify. One word that does come up in the footnotes is the use of via in Merchant of Venice:
Thesaurus Polyglottus, 1613 - Translations for heu, heus in:
?ebrew, Classic & Vulgar Latin, Italian, Spanish, Gallician, Greek, Lusitanian, German, Belgian, English, Slavic, Dalmatian, Polish, Hungarian, Bohemian, Portuguese, Malay & four abbreviations unknown to your scribe.
The “O!” (or a'via, vien, venez, ad nauseum) vocalable seems fairly universal in Western culture.