AS 12.75.090, under Habeas Corpus..
AS 12.75.090
The court shall remand the party if it appears that the party is legally detained in custody.
Your Policy Risk Impact Agent