To an Israelite, a shepherd was not only a person who cared for animals; the term also applied to rulers, such as kings. God intended those who ruled over his people to act as shepherds: guarding the sheep from attackers, healing the wounded and sick, etc. He expected those who ruled his people to seek their safety, security, and wellbeing.
In the text before us, there appears to be a deliberate contrast between two very different shepherds: Herod, a violent and bloodthirsty shepherd (6:14–29), and Jesus, a gentle and loving shepherd (6:30–44). Mark drew this distinction to show the people their need for a Good Shepherd. We have the same need.