Yes, you can use keyboard combination Command + Z to undo the change. Or click File > Revert to, here you can choose Last saved, Last opened, and Browse all versions.