Use the asadmin stop-domain command to stop the server, or explicitly kill the Java process and then restart GlassFish Server.