An electronic control unit executes a delay control and a load
compensation control. In the delay control, the period from when an
engine stop request for an engine is made to when the engine is actually
stopped is extended. In the load compensation control, the engine power
is adjusted according to the driving load of auxiliary devices. Further,
if the engine stop request is made during operation of a compressor,
which is one of the auxiliary devices, the electronic control unit
executes a power reduction control, in which ignition timing is retarded
to temporarily reduce the engine power. As a result, in an internal
combustion engine that executes the delay control, sudden increases in
the engine speed that are likely to occur when an engine stop request is
made during operation of auxiliary devices are reliably suppressed.