But I’m not understanding the question itself. A prison bond? Discharging it and obtaining release?
I think the op needs to explain their question.
Prison is a post conviction institution and then, in most states, involving serious crimes. Incarceration of less than a year is typicallly served in jail. If they are in prison it’s probable they have already been convicted and there is no bonded release available.
But you don’t discharge a bond to be released. You purchase a bond to be released pending a trial. The courts discharge a bond when a person is incarcerated after being convicted or is found not guilty.
In some states the courts carry the bond and the “purchase cost” is refunded to the payor once the case is disposed of and the bond discharged.