Plex developers should create a process that watches the main application to make sure it is running and attempts to start everything back up when it isn’t to keep the server alive. They could also potentially use this watchdog service for alerting the end user with important error logs instead when necessary.
There’s already an existing suggestion asking for an automatic process to re-open the Plex Media Sever after a crash / stop. I suggest you vote/comment in that existing thread to avoid distracting/dispersing votes (which will happen with duplicate suggestions).
There’s also a suggestion to allow for a user defined crash script.
Though both of them have gained little attention / roused little interest from other users.