On modern cars with manual transmission, the motor is powered with some gas when it is not engaged. However when you leave it engaged an just don't push the pedal, no gas is needed. (Although the motor brakes somewhat. I don't know which effect is stronger.)