Not to be a smart-ass here, but are you sure the engine isn't still turning over with the key off? High comp engines will "diesel" for a while with no ignition sometimes, and make one hell of a knock.