Pretty simple, set your spawn in the end and there's no way you can get out. Try the exit portal and you will end up in the end, die and you will find yourself in the end and you can't light a nether portal so you are stuck. I also tried searching for commands but nothing seemed to work.
Linked issues
duplicates 1
Comments 5
Thank you for your report!
We're tracking this issue in MC-175255, so this ticket is being resolved and linked 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:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit
if you want to leave you should be able to do execute in minecraft:overworld run tp @a 0 80 0
you can set the coordinates to whatever you want, but that should be relatively close to the ground
or try /execute in minecraft:overworld run spawnpoint @a 0 80 0
or something like that, if it doesn't work, then you are stuck