I can think of a way out:

Just throw the whole PC away. It’s someone else’s problem now!

But that just becomes a Jumanji issue
But it’s on a dedicated server you have already paid for, which also hosts your own Minecraft game server with active players (mission-critical process which can never be allowed to stop).