Q:

Kill vscode from the command line

I tried to kill the vscode from command line:
$ killall vscode
No matching processes belonging to you were found

$ killall "Visual Studio Code"
No matching processes belonging to you were found

It does not work? 
How could I terminate vscode from command line? 

A:

Use 
killall code

It will terminate all running instances of Visual Studio Code.