A method of shutting down an engine determines whether an ignition key is in a first shutdown position. An exhaust gas recirculation valve closes when the ignition key is in the first shutdown position. The engine runs for a predetermined period of time after the exhaust gas recirculation valve is closed. The engine shuts down after running the engine for the predetermined period of time.
展开▼