cash (one's) chips in
1. To exchange one's chips (small discs used to represent money in some betting games, like poker) for money when one is done playing a game. I think I'm going to quit while I'm ahead and cash my chips in.
2. By extension, to stop participating in any gathering or activity. Well, it's been fun, fellas, but it's time for me to cash my chips in.
3. To leave a gathering and/or go to bed. I have to be up early tomorrow, so I'm going to cash my chips in.
4. To die. We were so lucky to avoid that massive accident—we could have cashed our chips in!