I don't know if they changed it, but in the NES version only the White Wizard can cast exit. I think warp wouldn't get you out. It's called the Temple of Fiends.