I call it the terrible 3s
Every single one of mine was the same, it's like they hit 3 yrs and decide that legging it off is the thing to do, no concept of danger at all.
Sometimes you have to shout, otherwise they don't hear you as they're focused on getting away and mid tantrum!
If you use a softy spoken voice that's not going to get their attention, a quick shout stops them in their tracks.
It's not like you're running about daily screaming your head off so now and then is fine if it keeps them safe .
You had a nearly 1 year old in your arms, that's a heavy weight, you couldn't carry 2 children, you couldn't leave one outside while you ran back in, you couldn't bring the pram in, nothing else you could have done.
I remember one of mine shooting across a car park into oncoming cars, I let a roar, more in fright and to stop them immediately, one of my brothers was with me, he didn't speak to me for 8 months because it was according to him child abuse 🙄 I do enjoy watching him manage his 4 kids now while mine are grown, there's many shouts and raised voices.