Find the word definition

Wiktionary
shake a cloth in the wind

vb. (context obsolete nautical English) To be tipsy (but not really drunk)