Well, at the time I had a third amulet of lifesaving, as you could see in my inventory. I thought I put it on but I apparently didn't. I was running from the wizard and actually had a decent shot at ascending.
I probably would have made it if I hadn't been mind flayer'd earlier and forgot the layout. I should have written a scroll of magic mapping. Honestly, there was SO MUCH I could have done but didn't, leading to my demise.