and the bow crossed the wind and the sails shook but gathered and stiffened as the wind shifted to the other side , and still we turned , from being close-hauled , to a beam reach , to a quarter reach , to running down wind .