---
title: returnCommand
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/iocommandpool/returncommand
---

# returnCommand

## Declaration

```occ
virtual void returnCommand(IOCommand *command);
```

## Parameters

- `command`: The command to place in the pool.

## Discussion

Discussion The returnCommand method is used to place an object of type IOCommand into the pool, whether it be the first time, or the 1000th time.
