2309. The sequestrator is discharged, upon the termination of the contestation, by the restitution of the property to the person entitled to it.
The sequestrator may not be discharged and restore the property before the contestation is terminated except with the consent of all the parties or, failing that, for sufficient cause; in this last case, he may be discharged only with the authorization of the court.