The door closes behind you after you enter the treasure room. Making it possible for people to get trapped inside.
In fact that whole transition back seems off.
Not only is it possible, it just happened to me so I am now stuck in the room. Can I eat that amulet I found? :-\
I mentioned this as a suggestion and was told we already had a way to get out, and to use tab to see it.
In the memory quest, at least, there is no such exit button, but I also haven't seen that door close on me.
Seems weird that a veteran of ten years can't spot an obvious exit switch; maybe my brain is melting.