App permissions and live sharing in maps or messaging are separate controls.
Example
You shared your location for a meeting and it is still visible weeks later.
Why it’s dangerous
Anyone with continuing access can see where you go and learn your routine.
What to do
Open the app where you shared your location and stop the share. Check other maps, messaging apps and family sharing for sessions still running.
How to avoid it
Share live location only with the person who needs it and set an end time. Stop sharing when you arrive.