How to remove jailbreak and reinstall

I just wiped my phone and when everything came back the jailbreak was still on. Is there a way to remove this and then reload?
Removed...

🙂
I actually did it with Semi-Restore
If you want to wipe and restore the iPhone use the method I mentioned above.
I still want to keep the jailbreak but I just want to delete that and reload cyndia
Then you will need to wait on someone with more Semi-Restore knowledge. Sorry I cant help anymore 🙁
The whole point of semi-restore is that it keeps your jailbreak. A jailbreak and Cydia go hand in hand. You're not going to have one without the other.
When you wiped your phone, did you go to Settings > General > Reset > Erase All Content and Settings?

This can never ever be done on a jailbroken device. It will corrupt the file system and force a dfu restore. Please do not offer this advice to jailbreakers.

Original thread: https://forums.imore.com/threads/how-to-remove-jailbreak-and-reinstall.258671/