The MenuExitCB callback uses VtClose(VTCL) to close the connection to the SCO Visual Tcl server, then calls exit(TCL) to exit the program.