After stopping the G02 instruction, the milling motor goes through the path twice

I use two SMC5-5-N-N controllers. For both controllers, I find that after stopping the G02 instruction, the milling motor (with the M05 instruction) goes through the path twice. Delete row M05 to cut the circle once. This is true even if you have M04 or M101 instead of M05.
What could be the problem and the solution?

After pausing, it’s best to select the line before the breakpoint line, the controller can’t know exactly where you paused