Shorter version of
bin/jboss-admin.sh --connect --controller=<hostname>:9999 --command=:shutdown
would be
bin/jboss-admin.sh -c :shutdown --controller=host:port
so, if you run on the default host and port it'll be
bin/jboss-admin.sh -c :shutdown