— A lease carries to the lessee the right to the possession of the leased premises. — 12 Am. & Eng. Ency. Law, 976; Callen v. Hilly, 14 Penn. St. 286. Such possession the landlord has no right to disturb until the expiration of the term unless under the terms of the contract. — Warner v. Abbey, 112 Mass. 353; Darling v. Kelly, 112 Mass. 29. If a right be granted by the owner of land to the grantee merely to be upon or to do acts or work upon land it is a license and not a lease. Riddle v. Brown, 20 Ala. 412; Rapalje and Lawrence’s Law Dict. 735; 13 Am. & Eng. Ency. Law, 539; Cook v. Stearns, 11 Mass. 533.
If the contract mentioned in the bill of complaint is a lease then the theory advanced by appellees that the bill has equity for the restraint of a trespass by defendant upon the vineyard must fail since a trespass being an injury to the possession cannot be committed by one who is in rightful possession.
The use of the word lease in the contract is evidence that the parties meant what the word implies but the *243guide to construction being tbe intent of tbe parties, tbe whole instrument must be examined in view of tbe subject matter of tbe contract, tbe situation of tbe parties and tbe objects to be accomplished so far as they are declared by the contract in determining tbe rights and interests created by it. Here a vineyard was to be cultivated, trimmed and trellised and tbe grapes when ripe were to be gathered and marketed. By tbe agreement defendant undertook to do tbe work and depend for bis compensation upon tbe crop with tbe privilege of reserving it therefrom and of having tbe vineyard upon similar terms for the second yefir if tbe crop of tbe first was insufficient to pay him; tbe surplus proceeds to be paid to complainants. There was no rent to be paid or sharing in the crop to be bad, tbe sole interest of tbe defendant being tbe collection from tbe proceeds of bis pay. No time was fixed for tbe termination of any pos-sessory interest but by inference tbe completion of tbe work ended tbe defendant’s right to be upon tbe premises. Such facts do not establish tbe relation of landlord and tenant and tbe contract must be held one for employment and not a lease.
But so far as it affects tbe question of trespass tbe result is tbe same. Tbe contract remained in force there being no rescission by tbe parties. It not only conferred tbe right but imposed the duty upon defendant to enter upon the land in tbe execution of tbe work of gathering tbe crop as well as of cultivation. It gave a license to defendant to so enter which being granted upon a valuable consideration was not revocable so as to destroy bis right to collect from tbe crop after it bad ripened and so as to cause a failure in tbe performance of bis obligation to gather and market same. Tbe doctrine of estoppel in pais applies in such case. Rhodes v. Otis, 33 Ala. 578; McAllister v. Walker, 69 Mo. App. 996.
For tbe'purpose of' restraining a trespass tbe bill is without equity, but if it sufficiently shows a right in complainants to cancel or rescind tbe contract it may stand for relief in that aspect. When tbe remedy for recovery of damages at law is inadequate equity may decree tbe cancellation of a contract at tbe instance of a *244party who has substantially complied with it, for its non-performance by the other party, and where the parties can be placed substantially in statu quo. Miller v. Phillips, 31 Pa. St. 218; Doughten v. Camden B. & L. Asso., 41 N. J. Eq. 556; Light & Water Co. v. City of Jackson, 19 So. Rep., s. c. 73 Miss. 598, 771; Farmers & T. Co. v. Gaylesburg, 133 U. S. 156.
The contract implies the obligation on the part of defendant to do the work stipulated for in a husbandman-like manner. The bill alleges in effect that it was done unskilfully and was worthless and injurious to the vineyard. Such defective and worthless performance was equivalent to no performance and if such allegations were sustained by proof it would entitle complainants to rescission if the allegations and proof were sufficient in other respects.
To entitle complainants to such relief it should appear that the non-performance of defendant was due to no fault of theirs and also that there was a substantial compliance or a waiver by defendant of compliance on their part with the obligations rested upon them by the contract. The bill is defective in failing to aver such facts but the defect being amendable the bill will be regarded on the motion to dismiss it as amended.
The demurrer will be treated as a whole and having been sustained upon one of its grounds the decree thereon will not be reversed.-Steiner v. Parker, 108 Ala. 357; McDonald v. Pearson, 114 Ala. 630.
In view of the alleged insolvency of the defendant and the lack of security for his performance of the ultimate decree, we cannot say that the retention of the injunction to await such decree was an improper exercise of the court’s discretion.
Finding no error in the record the decree appealed from will be affirmed.