There is a switch (circle of the trees) in the top left corner of the map which changes the direction of the moon rotation. After switching you will have no problems with reaching the end. (=