This is /tp: No, it’s not like /xp. /tp teleports you somewhere like, /tp (player) (player). If you do that, it will teleport the first person to the second person. This is useful if you are lost and cannot find the way back.
There is another way too. If you remember the coordinates, which can be turned on using /gamerule showcoordinates true or going into settings scrolling nearly all the way down and turn the “Show Coordinates” under the “game features.” Back to what I was talking about earlier. So, you can do /tp (player) ~ ~ ~ the ~ = coordinates. And it will tp the person to that coordinate.
However, you need to use cheats if you want to teleport. (TP.) Soo… if you built your base at spawn, spawn is where you first start Minecraft in that world. And if you built your base there, you could also make a compass to navigate back if you’re lost. The compass will point to spawn. If you are wondering how to MAKE a compass, I think in bedrock edition, use 4 iron ingots, and one redstone dust.