If you spam enough in your singleplayer world (an easy way is to hold a letter key and enter at the same time while in a bed), you will get kicked for "disconnect.spam" and then sent to the server list instead of your worlds list or the main menu. I'm not even sure if you're supposed to get kicked from spam while in singleplayer; that may be another bug entirely.
Related issues
Comments

Forward-resolving to MC-45602
Oops. I didn't see that there were already issues like this, sorry. I searched "disconnect spam singleplayer" and nothing came up.