Teleporting in survival or adventure mode by an active repeating command block to a location that has no supporting blocks under it will kick the player by floating too long
into a "always active" repeating command block in a superflat void world, and after few seconds I stepped out the platform in survival mode, the game crashed, and kicked me for floating too long. Maybe a WAI feature.
I also got this a moment ago, but how I got it, is by glitching into a Shulker.