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.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Strike Amain from Infoplease: