Modify one's stand, adapt to circumstances, as in His advisers told him to trim his sails before he alienated voters and bungled the election completely . This metaphoric expression alludes to adjusting a ship's sails to take full advantage of prevailing winds. [Late 1700s]