The admitting to bail of a person prosecuting a writ of habeas corpus does not in any manner affect the writ or other proceedings or the full right of that person to have the cause and legality of the person's imprisonment inquired into and determined both in the trial court and upon appeal.