Term: cashing in your chips
Example: at the rate your shares in the company are going, as your financial advisor, i would seriously suggest you consider cashing in your chips
Definition: to withdraw from any enterprise or venture that appears to be on a downturn, while you yourself still can keep any personal gains