The Cancel-Task Action allows you to prematurely end a task that is already running. This can be used to end the task its put in or other tasks in the workspace. In the picture above the Task cancels itself before it can pulse output 1.