A vehicle includes an electric machine that generates torque to move wheels of the vehicle, and a controller. The controller operates the electric machine to limit a maximum speed at which the vehicle is driven in reverse such that the maximum speed depends on a number of detected objects behind the vehicle.