If it's a Mac, then System Preferences > iCloud > Sign Out.
Sign out of iCloud on your iPhone, iPad, iPod touch, Apple TV, or Mac - Apple Support
Want to highlight a helpful answer? Upvote!
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
If it's a Mac, then System Preferences > iCloud > Sign Out.
Sign out of iCloud on your iPhone, iPad, iPod touch, Apple TV, or Mac - Apple Support
How to log out on all things