Adobe Illustrator is a powerful vector graphic editor that can be used to create illustrations, logos, and other graphics. However, there are times when you may need to undo certain actions or changes made to your work in the editor. To do this, you will need to use the Undo command. To use the Undo command in Illustrator, first press Ctrl+Z (or Command+Z). Then, select the desired action or change you want to undo from the list of options that appear. To redo an entire selection or layer, press Ctrl+R (or Command+R).

Edit Undo – Adobe Illustrator Lesson

Check out How To Export Vector From Illustrator?