---
title: stop()
framework: automator
role: symbol
role_heading: Instance Method
path: automator/amaction/stop()
---

# stop()

Stops the action from running.

## Declaration

```swift
func stop()
```

## Discussion

Discussion The output acquired by the action during execution of the current workflow is still accessible to Automator.

## See Also

### Controlling the Action

- [run(withInput:)](automator/amaction/run(withinput:).md)
- [runAsynchronously(withInput:)](automator/amaction/runasynchronously(withinput:).md)
- [finishRunningWithError(_:)](automator/amaction/finishrunningwitherror(_:).md)
- [willFinishRunning()](automator/amaction/willfinishrunning().md)
- [reset()](automator/amaction/reset().md)
