This issue seems to only affect the Windows 10 version and I have seen it happening to other people. As described in the summary, if you unfocus the game in any way (clicking off of it, minimizing it, or alt-tabbing) then when you click back onto it, if you're on a server, you get kicked out and can't rejoin that server or any other server until you restart the game.
Steps to reproduce:
Join a server
Unfocus the game in any way
Refocus it
You're kicked out and can't rejoin
Related issues
duplicates
Attachments
Comments


Thank you for your report!
We're tracking this issue in MCPE-109879, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit