For fuel injection engine, while coasting, the gas pump is turn off but engine (piston and valve) is still running, power by the car's kinetic energy.