I wholeheartedly disagree with shooting the cat. How can you be so sure it is a stray and not someone’s beloved pet?
Killing an animal out of defence should be a last resort. There are so many things on the market designed to ward off predators eg anti climb spikes/paint, noise emitters etc...