You were disconnecting.
Check your internet to see if it was running.
If it wasnt working restart your internet connection.
If it was working Keep doing random stuff till the screen freezes.Then wait for the login screen to come and just type username-password again. if it says cannot connect to server, restart your internet.
Later on if you disconnect in a party you may see people just rambling off the floor.
Do not be alarmed and follow these steps again.