---
title: "ezgh ocr batches cancel"
description: "Cancel a submitted batch."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh ocr batches cancel

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh ocr batches cancel <batch>
```

Cancel a batch that has been submitted and hasn't finished. Pages not started are dropped; pages already being processed finish, and are billed. Each document keeps the pages that were done, and the batch ends cancelled.

Part of [`ezgh ocr batches`](/cli/reference/ocr-batches).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/ocr-batches-cancel/index.mdx
