First of all, the mod was not designed to be played in the single character mode.As far as I know you may never return once you have summoned the Coding Wizard . . you get one chance to dual class and that's all.
The door out is the "entrance to Vori", which of course, does not exist. The password is in a ship at the bottom of the sea, but is unreadable due to moisture damage. The ONLY way out of the coding foFortress is by Town Portal or LLoyd's Beacon.
Since, obviously you are using an Editor, just give yourself a town portal scroll . . provided, of course, that you have restored the Town Portal Spell by coompleting the Arch-mage Quest, otherwise the scroll will not work and you are stuck in there forever.