A: Calmly follow him/her and take the knife out of their hand.
B: Scream in hysterics and chase child around the house and grab knife as fast as possible.
Was that your attempt at an analogy?