The embedded ECLiPSe is terminated when quitting from the Tcl/Tk application. The following Tcl command should be called just before the application is terminated to allow ECLiPSe to shutdown: