close chrome tab from command line ubuntu

Shell
Instead of closing a tab, it kills the tab ("He's dead Jim" message appears and tab remains):
kill -9 <pid of Chrome tab>
Closes all Chrome browsers open:
killall chrome
Source

Also in Shell: