How to close the Knime instance in command line?

I run Knime batch mode in command line. Then how to close the instance in command line?

You want to terminate it early or have it close at the end of the run? 

If you are running with -noexit it won't close it should close without this I thought? 

I think ctrl + c in a command line window attempts to close the running application. 

Hi Grass,

the same challenge as well as a few more when orchestrating a few workflows in unattended shell execution led me to build a small solution to handle these:

Beside argument handling it allows to read/react to the KNIME datastreams (console output/error) and allows timeouts as well as terminating KNIME workflows after execution.