Except she didn't cause pain to prevent harm, she caused pain because he was decreasing her cooking efficiency. Specifically, he wasn't following her recipe and so she stopped him. She also spoke at a much higher volume while restraining him. It wasn't that the food was unsafe, it's that it was "overcooked".