You probably caved in to your fears and is why they felt confident to corner you and force you into giving up food, which you should never ever do.
Out in the wild/ regular hiking trail, you should always present your self confidently and as large as you can. This should fend off most animals - probably helps even more if you are big and tall before hand
So very easy to say when you were not there.
Regardless of size, those things are ridiculously fast. I outmass a monkey, but I would not confidently try to bluff my way past a screeching pack of them.