Freddie Gray, already with a long rap sheet, was convicted in May 2013 and sentenced to over 7 years, suspended, 18 months probation. The conviction included violation of a previous probation, second time for him.
Before his probation was up, he was arrested two more times. Soon after the probation was over, he was arrested five more times. He was out on bail for the last two arrests from March 2015, when he was subject to "an illegal arrest" in April and subsequently died.
It's all online in Maryland's case records.
If he was lawfully out of jail and not subject to an arrest warrant then all that is irrelevant. He may have been under restriction that required him to subject himself to additional search/loss of rights. That would be something to intellectually explore. But as far as I am concerned just running - even running away - is not a good enough reason for the police to stop someone.
And you can bet your last dollar that the leaders of the African American community are going to say that these incidents give black people reason to fear being stopped by the police, and that they have good reason to go out of their way to avoid police.