The defendant may have the same remedy by writ of habeas corpus as in other cases of arrest and bail.
RCW 7.44.050