To cancel a running task on PowerShell you will need to:
- Open Windows Task Manager by clicking Ctrl, Alt, and Delete simultaneously.
- Select Windows PowerShell from the list.
- Click End Task.
- This will close PowerShell and kill the running task.
Note: The task may still appear as running on Sharegate even though it has ended, this is normal behavior. You may need to restart the application for the task to appear as canceled.