To exit the Hardware Debugger, select File Exit. If you have an open waveform window, you are asked whether you want to save the data before quitting the application.