There is a possibility that you put it in atti or manual mode and take control. :)
Maybe not go home, more likely battery exhaustion, system is designed to land just before the battery is discharged. Too bad the tree was in the way. Could have been worse like in the water.