To gather and move a group of animals, typically livestock, in a particular direction. The shepherd herded the sheep into the pen for the night.
To move or direct a group of people in a particular direction. The security team herded the crowd towards the exit after the concert.
(Intransitive) To move together in a group, like a herd of animals or a crowd of people. Commuters herded toward the platform as the train pulled in.