***

title: stop
slug: /reference/typescript/relay/actions/play-action/stop
description: Stop audio playback immediately.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Stop playback immediately.

## **Returns**

`Promise<Record<string, unknown>>` -- Server acknowledgment.

## **Example**

```typescript {14}
import { RelayClient } from '@signalwire/sdk';

const client = new RelayClient({
  project: process.env.SIGNALWIRE_PROJECT_ID!,
  token: process.env.SIGNALWIRE_TOKEN!,
  contexts: ['default']
});

client.onCall(async (call) => {
  await call.answer();
  const action = await call.play([{ type: 'tts', text: 'Hello!' }]);

  // Stop playback early
  await action.stop();
});

await client.run();
```