Click on the Edit Menu, select Undo (or use the Undo tool on the toolbar).
“Backs up” from the last action you took. Undo will take back many functions of IrfanView. Only one function may be undone; the viewer does not save them up. You can disable this option in Browsing/Editing tab in the Options->Properties dialog.
Functions supported by Undo are: