If you have an iPhone, there are a few ways to undo restore operations. Here are three methods:

  1. Open the Settings app and select General > Reset > Reset everything. This will erase your data and settings, including your password.
  2. Open the iCloud account settings and select the Restore button. This will restore your data to the way it was before you made any changes to your iPhone or iCloud account.
  3. Open iTunes and click on the Restore button on the left side of the main screen. This will restore your data to how it was before you made any changes to your iPhone or iTunes account.