that sounds like a hall effect sensor...
there are usually 3 of them (one pointing at each stack) and they are responsible for sensing the position of the rotor
i'm guessing its now cogging because the ESC cant sense the position of the rotor and doesnt know where to apply power to get it rotate
well thats my guess anyway!