Mazes are explicitly escapable, just very hard to do so.
In Planescape Torment if you went on an indiscriminate rampage, frequently attacked Dabaus, or helped the priest of the Dead god of portals in his side quest you would get mazed, and have to escape. If you escape the maze and do a rampage...