[RPG] get trapped in the own Demiplane

dnd-5espells

I've been looking at the 8th-level spell Demiplane:

When the spell ends, the door disappears, and any creatures or objects inside the demiplane remain trapped there, as the door also disappears from the other side. Each time you cast this spell, you can create a new demiplane, or have the shadowy door connect to a demiplane you created with a previous casting of this
spell.

This looks very useful as a portable shelter, or as a vault or prison for items or creatures the party needs to contain. I just have one question about the exact mechanics of the doorway.

If someone is inside the demiplane when the door closes, it explicitly says that they're stuck there. (It doesn't say that they can't use teleport or plane shift, but that's a separate question.) What it doesn't say is whether I get stuck. Can you open the door back to your home plane if you're inside?

Best Answer

Yes, you can trap yourself.

The destination of Demiplane is always a demiplane, either newly-created or preexisting and familiar to you. By recasting the spell you could return to any demiplane familiar to you, but not to a non-demiplane such as the Prime Material.

If you don't have an appropriate spell such as Plane Shift, you will be trapped.