# MX\_EXITSBX > [HTML Version](mx_exitsbx.htm) **xcall MIAMEX, MX\_EXITSBX** MX\_EXITSBX (MIAMEX 82) may be used to abort from an [SBX](sbx.htm.md) subroutine directly to the dot prompt. This is necessary, since merely ending an SBX routine (with the END statement) will return to the calling program. Refer to [SBX Subroutines](sbxsubroutines.htm.md) for more information on this and related MIAMEX functions. **See Also** • [MX\_EXIT](mx_exit.htm.md)