How keep player connection on disconnect

The player is connected to the server through the velocity proxy, but the server turns off and the player kicks, how can I keep the player connection to the proxy until the server is turned on. Perhaps this is a trivial question, but I’m new to minecraft proxy servers.