A car on which you slam on the accelerator and the brakes, and which comes to a stop, is in fact stopping despite your pressing on the accelerator.