Cattle prods are effective too. You don’t want to get any closer than necessary. Not advisable to endanger personnel.
“Oh, Officer, can you get my kitty out of the tree?”
“No problem, Ma’am.” (Officer Tackleberry)
Cattle prods are useful in other ways, as well. They also keep varmints out of the house.