Cydia is an app that allows jailbroken iOS devices to find and install jailbreak-specific apps or customizations. If you no longer want to use Cydia, you can delete it or unjailbreak it. If you just don't want Cydia anymore, you can delete it. If you want to take your device in for repair, you must cancel the jailbreak to prevent the warranty from voiding.
Step
Method 1 of 2: Uninstalling Cydia Packages and Apps

Step 1. Open Cydia
You can remove Cydia from within the device without removing the jailbreak state. Without Cydia, the device will not be able to boot into Safe Mode if it is a fault with your jailbreak.

Step 2. Tap the "Installed" tab at the bottom of the screen
A list of installed packages will be displayed.

Step 3. Tap on the customization or app that you want to remove from the device
The Details page will open.

Step 4. Tap the "Modify" button in the top right corner, then tap "Remove"
The selected item will be added to the queue of packages to be removed.

Step 5. Tap on "Continue Queueing"
This way, you can choose even more packages to add to the queue of packages to be removed.

Step 6. Repeat the queuing process until you finish selecting all the packages you want to remove
Return to the "Installed" tab when you are finished queuing all packages.

Step 7. Tap on the "Queue" button, then tap on "Confirm"
All packages that you have selected will be deleted.

Step 8. Go back to the "Installed" tab, then select the "User" list
In this way, the list displayed consists of only the packages that are important.
Step 9. Remove "Cydia Installer" package
Go to the "Cydia Installer" Details page, then tap "Modify". Select "Remove", then tap "Confirm". Cydia will be deleted, then the device will restart.

Method 2 of 2: Unjailbreak

Step 1. Connect iOS device with computer
Use a USB cable to connect your iPhone, iPad, or iPod Touch with your computer. By canceling the jailbreak, you will remove Cydia along with all jailbreak-specific customizations and apps installed on the device.

Step 2. Open iTunes, if iTunes doesn't open automatically
You will use iTunes to back up and restore the device to factory settings, so the jailbreak and Cydia traces will be removed. You'll lose all jailbreak-specific customizations, but your data won't be lost.

Step 3. Select your iOS device at the top of iTunes
The Summary window will open.

Step 4. Select "This computer", then click
Back Up Now.
A complete backup of your device will be created on your computer's hard disk. The backup process may complete in a few minutes.

Step 5. Click the button
Restore iPhone/iPad/iPod….
iTunes will ask for your confirmation before the restore process continues. The contents of the iOS device will be wiped clean, and the process may be completed in a few minutes.

Step 6. Load the backup file after the restore process is complete
Once your device is restored, iTunes will give you the option to apply the new device settings or load a backup file. Select the backup file that you created earlier to restore your device using that file. This way, all your data and settings will be restored, while the jailbreak, Cydia, and all previously installed Cydia customizations and apps will be discarded.