how to quit terminal process code example
Example 1: how to force quit application in ubuntu
One way is to hit alt+f2, then type xkill and hit enter.
Now click on the program you would like to force quit.
Example 2: detach process from its terminal
nohup cmd &