You have two options.
The first is just to wait in jail until the mayor pulls you out.
But if you'd rather save that day, leave once you have Chen's ID...