Undo the commands back through a command descriptor
See undo for an introduction to undoing commands.
Examples:
:ubt :max ; undo back through the most recent command
; (which just means undo the most recent command)
:ubt :x ; same as :ubt :max
:u ; same as :ubt :max with no questions asked
:ubt fn ; undo back through the introduction of fn
; (including all the other events in fn's block)
:ubt 5 ; undo back through the fifth command executed
:ubt (:max -4) ; undo back through the most recent five commands
:ubt (:x -4) ; undo back through the most recent five commands
See command-descriptor.
It is important to remember that a command may create several events. That is, the command that introduces
See u for how to undo just the latest command. See ubu, ubu!, and ubu? for how to undo back up to, but not including, the current command.