What it's more than likely doing is called 'dieseling'...one or more of your injectors are leaking or hanging open, and the force of the compression and/or the heat of the motor is igniting the fuel that's leaking into the cylinder and causing the motor to keep running.
Check all the injector seals and o-rings, and if all those are good you might try replacing your injectors.