Not sure it is the same game, but I played one my Apple //e in that era, named Telengard (https://en.wikipedia.org/wiki/Telengard). I remember doing exactly as you describe: teleporting very deep and looting a chest for an extremely powerful weapon, and hoping to teleport back so I could rampage for a while. Good times. ;)