Cedric could've stayed behind to check on his fellow convicts or at least, re-assure them that everything will be fine cause god knows they need it, even the wardens too.
But Cedric was preoccupied. He didn't think that it was necessary for him to do that. He's neither a Hero nor a member of the staff, so that kind of responsibility doesn't fall on him. Hell, even if it does, he doesn't want it.
After giving them a considerate glance, which looked like an act of intimidation to the eyes of his targets due to what they'd just witnessed, he turned around and disappeared into a blurry shadow.
With the Tiger Demon down, the rest shouldn't have a difficult time repelling the remaining invaders, especially since he's also cutting down their numbers. The pressure they would face shouldn't be as heavy as before.