This article is a theoretical investigation of the untwisting of a cholesteric liquid crystal in a bounded sample with strong anchoring due to an applied magnetic field. Continuum theory and energy comparisons are used to determine graphically the form of the untwisting prior to and including the transition to the nematic phase.