Restart the server using the bin/stop-server command with the --restart or -R option. Running the command is equivalent to shutting down the server, exiting the JVM session, and then starting up again.

$ bin/stop-server --restart