Mechanism stopping the rotation of a rocket

I watched this video and got really curious on how they stopped the rotation of the rocket. At first I thought they used some sort of gas powered propulsion. But the video says that it’s mechanical.

Anyone got a clue?