Section 33 in The Specific Relief Act, 1963
Title: Power to require benefit to be restored or compensation to be made when instrument is cancelled or is successfully resisted as being void or voidable
(1) On adjudging the cancellation of an instrument, the court may require the party to whom such relief is granted, to restore, so far as may be any benefit which he may have received from the other party and to make any compensation to him which justice may require.
(2) Where a defendant successfully resists any suit on the ground—
(a) that the instrument sought to be enforced against him in the suit is voidable, the court may if the defendant has received any benefit under the instrument from the other party, require him to restore, so far as may be, such benefit to that party or to make compensation for it;
(b) that the agreement sought to be enforced against him in the suit is void by reason of his not having been competent to contract under section 11 of the Indian Contract Act, 1872 (9 of 1872), the court may, if the defendant has received any benefit under the agreement from the other party, require him to restore, so far as may be, such benefit to that party, to the extent to which he or his estate has benefited thereby.
Title: Discretion of court as to declaration of status or right.
Any person entitled to any legal character, or to any right as to any property, may institute a suit against any person denying, or interested to deny, his title to such character or right, and the court may in its discretion make therein a declaration that he is so entitled, and the plaintiff need not in such suit ask for any further relief:
Provided that no court shall make any such declaration where the plaintiff, being able to seek further relief than a mere declaration of title, omits to do so.
Explanation.--A trustee of property is a "person interested to deny" a title adverse to the title of some one who is not inexistence, and for whom, if in existence, he would be a trustee.
Title: Effect of declaration.
A declaration made under this Chapter is binding only on the parties to the suit, persons claiming through them respectively, and, where any of the parties are trustees, on the persons for whom, if in existence at the date of the declaration, such parties would be trustees.
Title: Preventive relief how granted.
Preventive relief is granted at the discretion of the court by injunction, temporary or perpetual.
Title: Temporary and perpetual injunctions.
(1) Temporary injunctions are such as are to continue until a specific time, or until the further order of the court, and they maybe granted at any stage of a suit, and are regulated by the Code of Civil Procedure, 1908 (5 of 1908).
(2) A perpetual injunction can only be granted by the decree made at the hearing and upon the merits of the suit; the defendant is thereby perpetually enjoined from the assertion of a right, or from the commission of an act, which would be contrary to the rights of the plaintiff.