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.
AS 12.60.130
Discharge upon giving undertaking after commitment
Official source: Alaska State Legislature. Reproduced from public-domain Alaska statutes; confirm against the official source for the current text. Not legal advice.