E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
Yield or suffer the consequences. The defiance of a man-of-war to a hostile ship. To strike amain is to lower the topsail in token of submission. To wave a naked sword amain is a symbolical command to a hostile ship to lower her topsail.