Find the word definition

Wiktionary
snap out of

vb. To terminate a mood or emotional state suddenly.

Usage examples of "snap out of".

He knew his depression was beginning to affect her, and that he needed to snap out of it.