You can undo changes immediately after using Find and Replace by pressing Ctrl+Z (Command+Z on macOS). This will revert the document to its state before the changes are applied.