***

title: stop
slug: /reference/typescript/relay/actions/standalone-collect-action/stop
description: Stop the collect operation.
max-toc-depth: 3
---------------------

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

Stop the collect operation.

## **Returns**

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

## **Example**

```typescript {18}
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.collect({
    speech: { endSilenceTimeout: 2.0 },
    initialTimeout: 10.0,
    startInputTimers: false,
  });

  // Stop the collect operation
  await action.stop();
});

await client.run();
```