Spawn Point in End Portal

In Minecraft I used the command /setworldspawn and built an end portal around it. So whenever I leave the end, it spawns me there(on the end portal) thus I'm taken back to the end. What should I do? Any help is greatly appreciated as this was my Redstone testing world.


You can also use /setworldspawn <x> <y> <z>. Try replacing the <x> <y> <z> with coordinates that are not inside the portal.