IDIOMS

square away

(nautical) To square the ships' yards to make her run before the wind, with the wind blowing straight from the stern.

Example:   I have almost squared away the last of the paperwork from that job.
1969, Two Years Before the Mast: Twenty-four Years After, by Richard Henry Dana
  Accordingly, when the wheel was relieved at eight o'clock, the order was given to keep her due north, and all hands were turned up to square away the yards and make sail.