Once you stop sharing your location with a previously allowed contact, they can no longer view your real-time location. Removing their access instantly revokes the capability on iPhone.