There is a video doing the rounds of a British cop, who is armed with a pistol, being approached by a man with a big knife. The cop backs off, backs off, backs off.... and while doing this holsters his gun, draws a Tazer and shoots the attacker with it.
Non lethal force selected even after he had drawn his gun and while under attack.