# Close without Saving command
## Summary

Closes the current file without saving.

## Description

This command closes the current file without saving. All changes will be
discarded.

## How to Run

- Default Menu: None
- [All Commands](/en/cmd/tools/all_commands): **File** \> **Close** \> **Close without Saving**
- Toolbar: None
- Status Bar: None
- Default Shortcut Key: None

## Plug-in Command ID

```
EEID_APP_QUIT (4120)
```

## Macros

### \[JavaScript\]

```javascript
editor.ExecuteCommandByID(4120);
```

### \[VBScript\]

```vbscript
editor.ExecuteCommandByID 4120
```
