to set the yards (spars; see yard1) of a square-rigged ship at right angles to the mast and keel so as to sail before the wind
NAmer, informal to tidy up (business, etc) or deal with it satisfactorily
to set (the yards) of a square-rigged ship at right angles to the mast
At four bells the order was given to square away the yards — R H Dana