Awhile back I did end up in the closet when I was really scared and overwhelmed. Needing to cut down on over stimulation was a big part of it.
Now if I had that urge I might try wrapping up in a blanket first, maybe using ear plugs if noise was getting to me, and I'd use some sort of fun distraction - in my case probably an involving book.
Good luck with it all.