here are the steps to remove iCloud from your iPhone:

1. On your iPhone, go to Settings > [Your Name] > iCloud and turn off Find My iPhone.
2. Tap “Apple ID” to go back.
3. Tap “Sign Out” to confirm that you want to sign out of your iCloud account.

If you want to remove iCloud from your iPhone permanently, you can follow these steps:

1. Go on your iPhone and tap on the Settings app.
2. Tap on iCloud in Settings.
3. Go down to where it says “Delete Account” or “Sign Out” and tap on it.

You can also remove iCloud from your iPhone without a password by following these steps:

1. Launch the System Preference on your Mac computer.
2. Click on the Apple ID icon on the right corner.
3. On the left panel, you’ll see the devices linked to your iCloud account.
4. Navigate to and remove the device you’d like to remove from iCloud.