If someone who is depressed snaps out of it or snaps out of their depression, they suddenly become more cheerful, especially by making an effort.
Come on, snap out of it!...
Often a patient cannot snap out of their negativity that easily.
PHRASAL VERB : V P P it , V P P n