Man dies in tree accident