When the player types and sends out too many messages in the chat at once, they will be kicked for spamming even though the are on a singleplayer world.
After they click return to menu, they are then sent to the multiplayer menu as if they were booted from a server.
Duplicate of MC-14923