Docs/Reference/CLI/tasks/stop

yarn tasks stop

Stop a running long-lived task

yarn tasks stop <NAME>

This command stops a long-lived task that is currently running in the background. The task will be terminated and its status will be set to “stopped”.

Use yarn tasks list to see the names of running tasks that can be stopped.