legacyrootfs
To revert the jailbreak installation on your device, follow the steps below.
unc0ver
Reboot the device then open unc0ver. Tap the gear icon and enable the "Restore RootFS" toggle, then tap "Restore RootFS" at the main screen.
Chimera / Odyssey/ Taurine
Reboot, open Chimera/Odyssey/Taurine, toggle on "Restore RootFS", then tap "Jailbreak".
checkra1n / Odysseyra1n
Open the checkra1n app on your home screen and tap "Restore System". If the icon has disappeared or you get "Restore Error: General", reboot and re-jailbreak.
palera1n
Go to your palera1n folder and type ./palera1n.sh --restorerootfs, then do ./palera1n.sh clean.
Note: Since the rootfs is sealed on iOS 15+, it remains the same across all devices. Thus, "Restore rootfs" means practically the same thing as "Remove Jailbreak"