It's not the closet door, it's the entrance door from living area to the bath/bedroom. It disappears into the wall behind the potty.
It's called a pocket door because when open it disappears into the pocket, or slot, made into the wall.
Here's a map...
You can't see the door, but it's above the step as you come into the bedroom area.