# Can I kill Sandbox from the Canton console?

**URL:** <https://forum.canton.network/t/can-i-kill-sandbox-from-the-canton-console/6458>\
**Category:** App Development\
**Created:** [April 20, 2023, 11:55am UTC](https://forum.canton.network/t/can-i-kill-sandbox-from-the-canton-console/6458 "2023-04-20T11:55:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [April 20, 2023, 11:55am UTC](https://forum.canton.network/t/can-i-kill-sandbox-from-the-canton-console/6458/1 "2023-04-20T11:55:32Z")

</div>

In case I have closed the terminal on which I have started it, as an alternative to `lsof -i TCP:6865` then `kill -9 <process id>`.

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [April 20, 2023, 12:05pm UTC](https://forum.canton.network/t/can-i-kill-sandbox-from-the-canton-console/6458/2 "2023-04-20T12:05:29Z")

</div>

I don’t think there’s a way to shut down a node from the Canton Console. But you can use `-t` on `lsof` to turn that into a one-liner: `kill -9 $(lsof -ti TCP:6865)`.

---

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [April 20, 2023, 12:09pm UTC](https://forum.canton.network/t/can-i-kill-sandbox-from-the-canton-console/6458/3 "2023-04-20T12:09:13Z")

</div>

Thank you!
