If we’re talking about a feral or wild animal and the animal is going to be killed either way (which, depending on the situation, might not be appropriate and sounds like it likely wasn’t here), shooting it is going to be as quick and save the animal the stress of the capture, so, yes.