I want to stop solr by command so if find this article
http://rc98.net/solrinit
echo \"Stopping Solr\" cd $SOLR_DIR java -Xmx1024m -DSTO
You could run (where 8983 is the default solr port)
lsof -i :8983
which will return PID#, then use
kill -9 PID#
to kill that pid (run it without the hash)