# MX\_EXIT

> [HTML Version](mx_exit.htm)

**xcall MIAMEX, MX\_EXIT**

MX\_EXIT (MIAMEX 2) causes an immediate exit from A-Shell, returning control to whatever context it was launched from.

**See Also**

•	[MX\_EXITSBX](mx_exitsbx.md)