on the latest snapshot (20w12a) there is a bug where when you spam when opened to lan or just playing by yourself, when you spam and get kicked for it, it takes you back to the multiplayer server list.
This isn't a big bug for playing by yourself but is a weird bug for when you are playing with someone else on a single player world.
Related issues
Attachments
Comments

Thank you for your report!
We're actually already tracking this issue in MC-45602 and MC-14923, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main tickets it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki