When the driver finishes their shift, you can disable location updates and take
the vehicle offline by setting `locationTrackingEnabled` to `false`.

Disabling location updates also sends a final vehicle update request to Fleet
Engine to set the vehicle state to `GMTDVehicleState.offline`.

For special considerations on handling failures when disabling location updates,
see
[`updateVehicleState`](https://developers.google.com/maps/documentation/mobility/driver-sdk/on-demand/reference/ios/interface_g_m_t_d_vehicle_reporter).

### Swift

```swift
vehicleReporter.locationTrackingEnabled = false
```

### Objective-C

```objective-c
_vehicleReporter.locationTrackingEnabled = NO;
```