[Sitting down at the table with her and giving her hair another light yank to get her attention...]
It's fine if you hate that you weren't able to help in that situation. It's even fine to feel a bit like you're useless for a while... Just don't let it get out of hand. If you start hating or blaming yourself for it, it's too much.