Sharing piles up: a location shared during a holiday, an old photo album, access you gave a partner. Safety Check puts it all in one place.
Settings > Privacy & Security > Safety Check
Manage Sharing & Access
Emergency Reset
Manage Sharing & Access walks you through people and apps one at a time, so you can keep what you want and cut the rest. I would use this once or twice a year as plain housekeeping, nothing dramatic about it.
Emergency Reset is the other button. It stops sharing with all people and apps at once, and is meant for situations where you need that immediately. There is a Quick Exit button at the top that closes Settings and returns to the Home Screen; changes you already made are kept.
Be careful if someone might be monitoring you. A person who suddenly loses sight of your location will notice, so Apple advises weighing the safety consequences first. Talking to a support organisation before you change anything can be wise.
It needs iOS 16 or later and two factor authentication on your Apple Account. It also stops at Apple’s border: passwords for other services and sharing on social media are not touched, so check those separately.
Further reading: How Safety Check works
Going deeper: Guide: Immich on Unraid, back up the photos on your iPhone automatically