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