A sailing vessel gripes when, by poor design or imbalance of sail, it tends to end up with its bow into the wind when sailing close-hauled.The sails flap around, forward progress is halted and she is very hard to steer.
On land, the term means to complain, complain, complain.