This glitch can be done using creative mode.
If you'll set a portal block in the end dimension using commands and try to teleport to the another dimension, you will be sent to the overworld really high (32765Y) and will be stated as dead. Death screen will not appear and you still will be able to move but you can't break/place blocks, can't get hurt, can't attack anything. can't use some commands, mobs will not spawn and will be gone (Even you will not get damaged in any way, (commonly hitting the ground too hard) Mobs will still not interact with you), can't interact with chests, fall infinitely below bedrock during this giltchy state.
The only way to get rid of this bug is to quit the world, then you will be sent to the spawn point after re-entering the world.
Linked issues
Comments 2
Thank you for your report!
We're actually already tracking this issue at MCPE-34142, so I will resolve and link this ticket 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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
The y hight of 32767 is probably the height because that is the maximum number of items that you can give yourself