This happened to me once in training in a 172M. Pulled the mixture to idle cutoff and it slowed, sputtered, then chugged back to life… repeat for 20 seconds. Stared confused at my instructor and was about to just hit the mags when it quit. I think I remember it kicking backwards too.
The shop...