Revert last set of changes

Is it possible to ask Cursor to revert changes made as a result of the most recent command?