There's a broad spectrum between reason and murder. You could tackle them, or bonk them with a stick, or distract them with shiny objects.
It's really hard to say without being in that specific situation, but if someone was literally trying to kill me my only goal would be to put them down and make sure they're not getting up to try again.