 He could not automatically return to Earth because he had not consciously "marked" it before leaving.Portal is capable of using his powers for teleportation, traveling instantly across about a few miles within a single dimension.Trying to transport himself more than a few miles in one jump, however, will destabilize the portal and send him off into another dimension, even if he is trying to stay anchored in one.