Moving an indoor spider outside typically leads to their death. What you did here is basically throw a spider to the wolves. If you can't deal with a spider indoors and you feel obligated to do something about it but have ethical feelings or whatever, the better thing to do is simply and quickly squish it.