Thank goodness that your cat had the sense to run up the tree ~ it would have been much worse had the dog managed to get hold of it

.
My OH has rescued 2 of our cats from trees in the past when they were kittens. We left them for about half hour to see if they could make it down on their own first. One of the kittens sat in the tree crying pitifully & as we had to leave for work, we had no choice but to get the ladder out & rescue it. Unfortunately the neighbours were all leaving for work or school runs at the same time, so he soon had an audience & they all clapped & cheered as he made it down with the kitten under his arm! He was highly embarassed.
The other one decided to slither down OH's arm as he reached for it, shredding his arm to pieces. Lots of cursing & swearing involved

. Both became very proficient climbers as they grew up.