On November 1, 1946, plaintiff and defendant entered into a written agreement whereby defendant “ employ [ed] and appoint [ed] ” plaintiff “ as exclusive renting and managing agent of the building ” owned by defendant. Plaintiff was to receive, among other compensation for its services, 5% of the total amount of rental collections from the building. The duration and provisions for termination of this *24agreement were provided for in its seventh paragraph, which reads, in part: “ The agreement * * * shall continue in full force and effect until last day of February 1948, and, if not then terminated by either party giving to the other thirty (30) days prior notice in writing, shall continue from year to year until terminated by either party at the end of any extended yearly term, by the giving of a like notice ”.
Up to June 1, 1949, neither party had exercised its power of termination. But during June of that year defendant notified plaintiff it intended to sell the building in question, and that it expected to terminate their contract with respect to the management thereof when transfer of title to the new owners was completed. On or about June 30, 1949, eight months before the contract’s provisions permitted termination, defendant did sell the building.
Plaintiff contends that since the agreement had not been terminated in February, 1949, it had a contractual right until February, 4950, to continue its duties as defendant’s exclusive renting and management agent, and to receive the stipulated compensation therefor. By selling the building, plaintiff urges, defendant breached its duty under the contract to employ plaintiff as agent, at least until February, 1950, for which breach defendant must respond in damages. Defendant, on the other hand, maintains that since all of plaintiff’s services were to be performed in connection with this particular building, defendant’s duty to employ plaintiff therein was subject to the implied condition that defendant continue to own the building.
At the outset we should sharply distinguish between the parties’ powers, rights and duties arising under the contract itself, and those arising under the agency relationship created by the contract. It is well settled that, with but a few exceptions not pertinent to the facts of this case, a principal has the power to revoke at any time his agent’s authority to represent him. This is not to say, however, that in doing so he is immune from liability to the agent for breach of contract (see Prescott v. Buffalo Fire Appliance Corp., 237 App. Div. 198, affd. 262 N. Y. 475; Janvier, Inc., v. Baker, 229 App. Div. 679). Thus, while defendant had the power to terminate at will its agency relationship with plaintiff, if in so doing it violated its obligations under *25the contract, it must respond to plaintiff in damages (1 Mechem on Agency [2d ed.], § 568; 2 Am. Jur., Agency, § 37; Note, 38 L. R. A. [N. S.] 366; Restatement, Agency, §§ 118, 450; Williston on Contracts, § 279, cf. § 280). As was said in the old English case of Toppin v. Healey (11 Weekly Repr. 466, 467 [1863] ; 1 New Rep. 326, 327): “ You may revoke an authority although you cannot revoke a contract.”
Obviously, then, the central issue of the case is whether under the terms of this management agreement defendant had the right to terminate the agreement by selling the building which the plaintiff was to manage. The agreement itself fully sets forth in clear and unambiguous language the respective parties’ rights and duties. But it does not in any of its clauses give defendant the right to terminate by disposing of the building. By the clear and explicit language of the seventh paragraph, quoted above, it appears that the contract can come to an end by act of the parties only on the last day of February of any renewal year, after thirty days’ prior written notice of termination. In that provision there is no ambiguity, nor is there any language which we could reasonably construe to grant defendant an additional right to terminate by selling the building.
Defendant agrees that “ no ambiguity exists in the present contract ”, yet urges that when read as a whole, the agreement implies that it was designed and drawn with the sole idea that defendant would have a right to terminate it by selling the building. A simple answer is that since no such term expressly appears, it cannot be supplied by the courts under the guise of construction or interpretation, their power being limited to giving effect only to the parties’ expressed intent (Friedman v. Handelman, 300 N. Y. 188, 194; Matter of Loew’s Buffalo Theatres, 233 N. Y. 495, 501; Rosenthal v. American Bonding Co., 207 N. Y. 162, 168-169; Dwight v. Germania Life Ins. Co., 103 N. Y. 341, 347-348; Zimmermann v. Loft, 125 App. Div. 725, 729; Donavin v. Thurston, 190 App. Div. 48, 50; Williston on Contracts, § 610). We “ concern ourselves with what the parties intended, but only to the extent that they evidenced what they intended by what they wrote ” (Raleigh Associates v. Henry, 302 N. Y. 467, 473). Here they wrote that the agreement “ shall continue in full force and effect ” until terminated as specifically provided therein.
*26Moreover, we have previously held that when A enters into a contract whereby B is to provide A for a stated period of time with goods or services, which both parties realize are for use in a particular enterprise owned by A, in the absence of a specific clause so providing, A cannot escape his obligations under that contract by voluntarily selling his interest in the enterprise before the expiration of the expressed contract term (Hudak v. Hornell Industries, 304 N. Y. 207; Wells v. Alexandre, 130 N. Y. 642; see Parsil v. Emery, 242 App. Div. 653; Tel-Hotel Corp. v. Lexnott Corp., 205 Misc. 576; see, also, Carouso v. Empire Case Goods Co., 271 App. Div. 149, affd. 297 N. Y. 514).
In the Hudak case (supra), defendant employer contracted to hire plaintiffs to work in defendant’s business for a full year at a stipulated weekly wage. We there held that despite its voluntary sale of the business before the contract term had expired, defendant was still bound by its contractual obligations to the plaintiffs. Likewise, in the case at bar, where defendant contracted to give plaintiff an exclusive management and renting agency until at least February, 1950, its voluntary sale of the building in June, 1949, could not release defendant from the express terms of its agreement with plaintiff.
Defendant attempts to distinguish the Hudak case (supra) on the ground that there, an employer-employee relationship existed, whereas here, plaintiff does not hold the status of an ‘ ‘ employee ’ ’. It should be noted in passing that the agreement here specifically states that defendant “ employs ” plaintiff and that plaintiff “ accepts employment”. More important, however, such an attempted distinction is immaterial in this case, because, as already pointed out, the decision here must turn upon the terms of the yarties’ contract, not upon the abstract nature of the relationship created by that contract, whether denominated as employment or agency. Cases cited by defendant which involve the peculiar “ requirements ” or “ output ” type of contract are not apposite here.
Defendant finally contends that there is no ground for imposing liability against it because plaintiff rendered no services after July 1, 1949, and made no collections from which plaintiff’s 5% commission could be taken. However, plaintiff’s action is not to collect earned commissions; rather, it is for damages *27resulting from defendant’s breach of contract, which damages are measured by the commissions plaintiff would have earned but for the breach, less the expenses plaintiff would have incurred in performing its part of the contract (Eestatement, Agency, § 445 and comment a thereunder). Defendant, after having voluntarily sold the building, thereby preventing plaintiff’s collection of the rentals, cannot now assert the fact of no collections as a basis for defeating plaintiff’s claim for damages.
We are therefore of the opinion that the trial court erred in dismissing plaintiff’s complaint for legal insufficiency. We are further of the opinion that on the record before us defendant has failed to raise any triable issue of fact except as to the amount of damages; indeed, the parties agreed at Special Term that the problem is purely one of law. Consequently, plaintiff’s motion for summary judgment should have been granted.
The judgment and order of the Appellate Division should be reversed, with costs in all courts, and the case remitted to the County Court with directions to deny defendant’s motion to dismiss the complaint for legal insufficiency, to grant plaintiff’s motion for summary judgment and to assess damages.