You can exit an application and make the window disappear by using frame-exit or disable-frame .
Common Lisp Interface Manager 2.0 User's Guide - 7 Aug 2017