(1) Subject to section 5, the protection deemed to be granted to a company under that section shall cease -
(a) on the coming into effect of a compromise or scheme of arrangement under this Act, or
(b) on such earlier date as the court may direct.
(2) Where a company ceases to be under the protection of the court, the appointment of the examiner shall terminate on the date of such cessation.