Potty training accident help

Those who have already potty trained their littles, or have older babies they've already potty trained. What do you do when your kiddo is completely potty trained but has recently started waiting too long to go pee so is peeing their pants while trying to get them down?? This is usually happening when my hands are full and am not able to help get them down when she's waited too long. Then because she's wet herself she gets extremely upset. I try not to scold her for it because she's already upset, but I do tell her that we do not pee our pants.

She's 2. She's been potty trained since she was 16m and going back into pull ups isn't an option for her. Please help.