Stroker engine "diesels" after I shut it down

I idn't read all the post's, just going to tell of an experiance I had,
13-1 compression 440 in our pulling truck , ran out of 112 octain fuel while we were putting it in the shop , we put some pump gas in her to get her parked , got her in the shop, turned off the ignition ,DIESEL put her in 1st gear while holding the brake she was spinning the rear tires on idle ( no rear brakes,just front on pulling truck) we finally got her to die by going to a higher gear and letting out on the clutch, never had the diesel with the high octain fuel, Dane