If a felon attacks you and lives, he will reasonably conclude that he can do it again. By submitting to him, you not only imperil your own life, but you jeopardize the lives of others.
What you do to prevent further felonious assault, as long as the felon is still capable of action, is justified.
If violent crime is to be curbed, it is only the intended victim who can do it. The felon does not fear the police, and he fears neither judge nor jury. Therefore what he must be taught to fear is his victim.