Question: how do you tp to spawn?
Answer: If you have cheats enabled in the world then you can use the command /kill to respawn at the spawn point. You can use the command /gamerule keepInventory true to avoid losing items on death. You need to have cheats on for this to work.