How do I make a runaway AMS stop?

If you grab the filament, yes, it will retract all the filament… And then immediately start pushing it out again! At least, that’s what happens for me.