Pls help me qwerrtt

every time i leave an server it says that im not connected

Yes, once you leave a server you are no longer connected to it.