The game should by default auto save every 10 minutes, I believe. Your auto save would just be a little set back but it should be your latest play through. Hope that makes sense!
I believe I accidentally made it auto shut down on Windows when it was only supposed to be doing so on Linux. But as far as I'm concerned, the server should remain up as long as you're actively playing the game. Or is it shutting down instantly for you?