Term: bow out
Example: man i think i'm gonna bow out soon and get to bed
Definition: to gracefully leave a situation that you've had enough of