An order made under section 29 above in respect of a patient may be discharged by the county court upon application made—
But, in the case of an order made on the ground specified in paragraph (e) of section 29(3) above, an application may not be made under subsection (1)(b) above by the person who was the nearest relative of the patient when the order was made except with leave of the county court.
An order made under section 29 above in respect of a patient may be varied by the county court, on the application of the person having the functions of the nearest relative by virtue of the order or on the application of the patient or of an approved mental health professional , by substituting another person for the person having those functions.
If the court decides to vary an order on an application under subsection (2) above, the following rules have effect for the purposes of substituting another person—
If the person having the functions of the nearest relative of a patient by virtue of an order under section 29 above dies—
An order made on the ground specified in paragraph (c) or (d) of section 29(3) above shall, unless previously discharged under subsection (1) above, cease to have effect as follows—
it shall cease to have effect when he is discharged under section 23 above or 72 below or the relevant application, order or direction otherwise ceases to have effect (except as a result of his being transferred in pursuance of regulations under section 19 above);
In subsection (4) above, reference to a relevant application, order or direction is to any of the following—
An order made on the ground specified in paragraph (a), (b) or (e) of section 29(3) above shall—
The discharge or variation under this section of an order made under section 29 above shall not affect the validity of anything previously done in pursuance of the order.