There is no hiding mechanic as of right now. I was planning to make one, but then I ran out of time. But I still decided to leave the closet in the game as a "feature" to throw players off. There is another way to get rid of the ghost(don't wanna spoil anything though).