Nethack move past seemingly unpassable area

This is my first time playing Nethack so I'm fairly certain I must be missing something simple however, I can not figure out what. I am stuck on finding my way to the next room I have tried going in every direction against the pathways to progress and tried opening doors in every direction yet I can't get out of this area.
Here is gif of the room
As you can see monsters are still entering the area I've explored so there must be an exit somewhere. I thought maybe this was an issue where the room was diagonal of the walk way but even walking diagonally I can't pass anything.
How can I get out of this room??
Pictures about "Nethack move past seemingly unpassable area"



How to avoid the top 100 causes of death in Nethack
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Тамара Левченко, Adrien Olichon, Meruyert Gonullu, Olga Lioncat