# void Unit::Disappear()

[Family: Unit](/en/CKS/familias/unit/)

## Exact signature

```text
void Unit::Disappear()
```

## Description

Clears the unit's command state. In verified calls, it also moved the unit to (-1, -1), away from its map position.

## Usage notes

Captured units retained their health, and one visual representation became null. This does not establish death, removal of the reference or automatic restoration. Game scripts use additional operations to save the position and restore it later; that complete sequence was not verified in these captures. Subsequent effects and invalid references remain unresolved.

## Parameters and return type

**Return type:** `void`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

- [Markdown](/exports/en/cks/api-c35f447c76a7e5.md)
- [JSON](/CKS/api/entries/api-c35f447c76a7e5?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
