It is not an automatic removal of LOC, you may have to file an application before the trial court or high court to remove the LOC pending against your name.
Further since you have been enlarged on bail you cannot leave the country without the permission of court or else the court may cancel the bail and sometimes the surety may be held for this which is termed as jumping bail.