When you are mentally and physically drained, to where you can’t be by people because you feel so overwhelmed. Clocking out mentally is a phrase to let people know you’re almost done with everything life etc.
“I’m clocking out mentally today, I’m not feeling it today”