Sorry man it was bail.
If someone is held on remand then they have been deemed guilty to an extent by the state even though they haven't yet been found guilty.
Being released on bail, however, allows you to keep your freedom as you are still innocent.