I didnt know how to force Quit applications from the command line. Yesterday my friend(Ravi Jaya) taught me how to..!
$pgrep process_name (Type this in the command line, So the output will be the process id)
pid: 1245 (this is the process id)
$sudo kill -9 1245 (This command will force quit the application.