To terminate a process from the command line of windows, use the
When you know the name of the program to stop:
Or when you know the process ID, eg
For more usage variants, type
Some of this information about what processes are running can be obtained by the tasklist command, e.g. this tells you the Process ID (PID).