Go to Settings: Open the Settings app on your iPhone, iPad, or Mac.
Tap Your Name: At the top of the screen, tap your name or Apple ID.
Scroll Down and Tap Sign Out: Scroll to the bottom and select Sign Out.
Enter Apple ID Password: If prompted, enter your Apple ID password to turn off Find My [device].
Confirm Sign Out: Confirm that you want to sign out, and choose whether to keep a copy of your data on the device.
Your iCloud account will now be signed out from the device