corralling

verb

Gather together and confine (a group of people or things).