Undo and Redo ← Back to Command By storing executed command objects in a history stack, operations can be reversed (undo) by executing the command’s inverse, or replayed (redo). Combined with Memento for state restoration. property command undo-redo