The motor reverses direction when holding the torque.

I’m controlling a BLDC motor using the FOC algorithm. In speed control mode, the motor runs well at a certain speed, but when I try to hold the torque by hand, the motor suddenly spins in the opposite direction at full speed. Has anyone encountered this issue before? Any advice would be appreciated.