Enforcing the cessation of motion is a common action in robotic systems to avoid the damage that the robot can exert on itself, its environment or, in shared environments, people. This procedure raises two main concerns, which are addressed in this paper. On the one hand, the stopping procedure should respect the collision free path computed by the motion planner. On the other hand, a sudden stop may produce large current peaks and challenge the limits of the motor’s control capabilities, as well as degrading the mechanical performance of the system, i.e., increased wear. To address these concerns, we propose a novel method to enforce a mechanically feasible, smooth and path-consistent stop of the robot based on a time-minimization algorithm. We present a numerical implementation of the method, as well as a numerical study of its complexity and convergence. Finally, an experimental comparison with an off-the-shelf stopping scheme is presented, showing the effectiveness of the proposed method.