In a vehicle powertrain that includes an engine and an electric machine, a method for preventing rollback of a wheeled vehicle located on an incline includes determining a magnitude of wheel torque required to prevent the vehicle from rolling back, using the electric machine to produce the required magnitude of wheel torque at the wheels, transmitting engine torque to the wheels, and reducing torque produced by the electric machine while increasing engine torque such that the sum of wheel torque produced by the engine and electric machine is substantially equal to said required magnitude of wheel torque.