previous()

Has a value equal to the name of the last passage the player visited.

You can use this with the link syntax to make a link that goes back to the previous passage:

The snowballs are useless against this lava beast! Undo! [[Undo!|previous()]]