• Help Home
  • Quick References
    • What's New
    • New Features Overview (Video)
    • The Hitchhiker's Guide to AutoCAD
    • Have You Tried
    • Commands
    • System Variables
  • English (US)
    1. English (US)
    2. 简体中文
    3. 繁體中文
    4. Čeština
    5. Deutsch
    6. Español
    7. Français
    8. Magyar
    9. Italiano
    10. 日本語
    11. 한국어
    12. Polski
    13. Português (Brasil)
    14. Русский
AutoCAD LT 2025
    • What's New in AutoCAD LT
      • New Features Overview (Video)
      • What's New in AutoCAD LT 2025
      • What's New in Previous Releases
    • Getting Started
    • Have You Tried
    • AutoCAD LT User's Guide
    • Cross Platform
    • Subscription Benefits
    • Customization and AutoLISP
      • Customization Guide
      • DXF Reference
      • AutoLISP: Developer's Guide
      • AutoLISP: Reference
        • Functions Reference (AutoLISP)
        • AutoLISP Core Functions
          • Functions By Functionality
          • Non-alphabetic Functions
          • A Functions
          • B Functions
          • C Functions
          • D Functions
          • E Functions
          • F Functions
          • G Functions
          • H Functions
          • I Functions
          • L Functions
          • M Functions
          • N Functions
          • O Functions
          • P Functions
          • Q Functions
            • quit (AutoLISP)
            • quote (AutoLISP)
          • R Functions
          • S Functions
          • T Functions
          • U Functions
          • V Functions
          • W Functions
          • X Functions
          • Z Functions
        • AutoLISP External Functions
        • DCL Reference
        • ActiveX Library Functions (Windows Only)
        • Express Tools Library Functions (AutoCAD for Windows Only)
        • Visual LISP IDE Related Functions (AutoCAD for Windows Only)
      • AutoLISP: Tutorials
      • ActiveX: Developer's Guide
      • ActiveX: Reference Guide
    • Installation
    • AutoCAD LT Release Notes
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    quit (AutoLISP)

    Forces the current application to quit

    Supported Platforms: Windows, Mac OS, and Web

    Signature

    (quit)

    No arguments.

    Return Values

    Type: nil

    If quit is called, it returns the error message quit/exit abort and returns to the AutoCAD Command prompt.

    Examples

    N/A

    Related Concepts

    • Error-Handling Functions Reference (AutoLISP)

    Related Reference

    • *error* (AutoLISP)
    • exit (AutoLISP)

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved