The game forces my character to leave the server it was previously in before minimizing the game or opening another app.
Steps to Reproduce:
1. Open the game and join a server.
2. Open the taskbar or switch to another app.
3. Return to the game.
Observed Results:
The game forces me to leave the server I was previously in.
Expected Results:
Return to the previous state my character is before minimizing the game.
Screenshots/Videos:
Notes:
This bug has been occuring since 1.16 and has been an ongoing bug for any servers. The video is sped up to 1.5x because of my slow device.
Related issues
duplicates
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