You can exit C-WaveformGenerator by selecting [File] - [Exit] from the menu.
Screen of [File] - [Exit]