---
title: "cancelBatch"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738374/cancelBatch"
format: markdown
---
# Description

Cancels batch processing. 

> ⚠️ **Important**  
> ⚠️ You can only run this command from within Post during batch processing if the batch process is farmed. For information on batch farming, see [master](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736732), and also [Work with ShogunPostCL](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736791) and [Batch process files in Shogun Post](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737847), both in *Getting more with Shogun Post*.

## Functional area

Batching

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `cancelBatch` |

### Arguments

None

### Flags

None

## Return value

void

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

# Additional info

## Related commands

- [addBatchFile](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738182)
- [isBatching](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738912)
- [removeAllBatchFiles](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738023)
- [removeBatchFile](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738474)
- [setBatchMode](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738481)
- [startBatch](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738280)