You can exit an application and make the window disappear by using frame-exit or disable-frame.
CLIM 2.0 User Guide - 18 Feb 2025 15:40:11