To be on her beam ends

to incline, as a vessel, so much on one side that her beams approach a vertical position.

See also: Beam

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.