If you’ve modified your iPhone, iPod Touch, or iPad and are now second guessing your decision to jailbreak your device, you can undo the modification and run your device normally. This can be quite useful if your device has been experiencing performance issues since applying the jailbreak.
1. Connect your iPhone, iPod Touch, or iPad to your computer and open iTunes.
2. Select your device from the left column.
3. Go to the Summary tab.
4. In the Version section, click the Restore button.
5. You will be asked if you want to back up the settings for your device before restoring, click the Back Up button.
Your settings will then be backed up and the Restore function will start.
Once the Restore function has completed, your device will be in a “nonjailbroken” state.