It wouldn't be charging the battery, if it were shunted directly to the motor.