Dont shoot at a suspect running away.
Depends on where you live. We had the DA on the local news emphatically state you can shoot any intruder in your home, even if that person has his back to you and is trying to leave.
Good shooting, Citizen. Civilization thanks you. As to going asleep...what was he supposed to do? Stay up and mourn the creep that was trying to kill him? Good riddance. Put me on the jury.
It is too tiresome to list on every message board that has such a post to list all of the news stories of those who went to jail because they believed the crap they see on the message boards.
Read your state law.
Here is a start: https://www.pennlago.com/justified-pennsylvania-law-allow-use-force-self-defense/
Whereas the same specific situation is not covered, it is clear that if you dig enough you will find that PA self defense law is similar to almost every state in that you may not shoot a fleeing person in the back. I would say that there would be an exception if the bad guy was a terrorist bent on a mass killing and in the process.
If you live in Alaska, you might read this:
https://www.dattanlaw.com/alaska-law-defending-firearm-deadly-weapon/
Shooting fleeing criminals is a no no.
One final word from me: There are cops in prison today who shot fleeing criminals in the back. One in North Charleston, SC and the other in Charlotte, NC
And several store owners who chased robbers and shot them in the parking lot. The law in this state is clear. When the attacker gives up, you must not take any lethal action.