***

title: stop
slug: /reference/python/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**

`dict` -- Server acknowledgment.

## **Example**

```python {20}
from signalwire.relay import RelayClient

client = RelayClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
    contexts=["default"],
)

@client.on_call
async def handle_call(call):
    await call.answer()
    action = await call.collect(
        speech={"end_silence_timeout": 2.0},
        initial_timeout=10.0,
        start_input_timers=False,
    )

    # Stop the collect operation
    await action.stop()

client.run()
```