The way he leaves the ranch seems to indicate he wasn't comfortable with this night departure - instead of going vertical and transitioning to a safe climb, he meanders across the trees with absolutely no options if the donkey stops, barely gaining height.
If he continued in the same manner into complete darkness, it is no wonder this tragic accident occurred.