# interrupt()

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

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

Send an interrupt to the current command without closing its terminal.

```javascript
await terminal.interrupt();
console.log(terminal.status, terminal.busy);
```

The instance refreshes from the returned terminal record. The terminal remains open and can accept another line when it is idle.

```python
terminal.interrupt()
print(terminal.status, terminal.busy)
```
