1. Open Settings → Connected apps.
  2. Select Disconnect next to Strava and confirm.

Activities already attached to completed runs stay with those runs. You can reconnect any time.