There was the case of farmer Tony Martin, who shot a teenage burlgar in the back. He was convicted of murder, later reduced to manslaughter on account he was a bit nuts.
https://en.m.wikipedia.org/wiki/Tony_Martin_(farmer)
So no, you can't attack someone fleeing.