# kill()

Canonical URL: https://developers.iagenify.com/de/sdk/ref/compute-terminal/kill/
Language: de

`terminal.kill() → Promise<ComputeTerminal>`

Stop the terminal and everything it started.

```javascript
await terminal.kill();
console.log(terminal.status); // "exited"
```

After a successful request, the local instance is marked exited and not busy. Use this when the terminal is no longer needed.

```python
terminal.kill()
print(terminal.status)  # "exited"
```
