Correct. I've seen many cases where an attacker stopped and baked away after seeing the person they were targeting show them a weapon. Showing a weapon can avoid a violent confrontation - the epitome of self-defense.