endTrajectory

Ends the current trajectory in progress. No-op if no trajectory segments are pending.