Howard D. Schultz, the chief executive of Starbucks, said in a letter to employees on Sunday that baristas would no longer be encouraged to write the phrase “Race Together” on customers’ coffee cups, drawing to a close a widely derided component of the company’s plan to promote a discussion on racial issues.

“While there has been criticism of the initiative — and I know this hasn’t been easy for any of you — let me assure you that we didn’t expect universal praise,” Mr. Schultz wrote.

Having baristas write on customers’ cups, Mr. Schultz wrote, “which was always just the catalyst for a much broader and longer-term conversation — will be completed as originally planned today, March 22.”

That end date had not previously been mentioned publicly, including during Mr. Schultz’s discussion of the initiative at the company’s annual shareholders meeting last week, but a company spokeswoman, Laurel Harper, said employees had been told about it.