snap out of

US /snæp aʊt əv/
UK /snæp aʊt əv/
"snap out of" picture
1.

to stop being in a bad mood or condition by an effort of will

:
You need to snap out of this depression.
She told him to snap out of it and focus on the task.