Discharge upon giving undertaking after commitment.

AS 12.60.130, under Prevention of Crimes..

AS 12.60.130

If the person complained of is committed for not giving the undertaking required, the person may be discharged by any judge or magistrate upon giving the undertaking.