The motor is not driving the wheels, its driving the crankset, which is connected to a chain, connected to a freewheel/cassette, there is no scenario where the cranks keep turning due to motor power if your feet are on the pedals. ie the motor cannot propel the bike when you are coasting. This...