Java 26.2
Teleport
Position
Position Teleport
Target @p
/tp @p ~ ~ ~
Teleport commands go wrong when relative and local coordinates get mixed up: ~ is relative to the entity, ^ is relative to the way it is facing. Build the destination visually, add rotation or a facing target, and copy a command that lands where you meant it to.
Position and entity
Java 26.2
Position
Target @p
/tp @p ~ ~ ~