Nvidia  (NVDA) has long been a favorite of TheStreet's founder and Action Alerts Plus Portfolio Manager Jim Cramer, but he told a packed audience Saturday at his Boot Camp for Investors in New York why his charitable trust recently sold out of the stock.

He said the trust took a win and exited the name because "I think Nvidia is going to miss the quarter.

Still Cramer noted that Nvidia is still in his trust's "bullpen" of possible future buys, and that he expects to buy it back at the right price.

Jeff Marks, lead analyst for Cramer's trust and his Action Alerts Plus club for investors, said he and Cramer still like NVDA for the longer term because "there are so many trends -- autonomous cars, gaming. ... We had a huge gain [when we sold]."

But Cramer added: "You can't be greedy in this market."

Click here for live updates from Jim's Boot Camp for Investors.

How to Invest Like Jim

If you missed joining Jim in New York for Saturday's boot camp, you still have time to sign up for his monthly private call for members of his Action Alerts Plus club for investors this Thursday. Click here for details.

More from Video

Should Yahoo Finance Be Afraid of the Big, Bad Apple? Jim Cramer Says Yes

Should Yahoo Finance Be Afraid of the Big, Bad Apple? Jim Cramer Says Yes

Jim Cramer Reveals Which Earnings Report All Investors Should Watch

Jim Cramer Reveals Which Earnings Report All Investors Should Watch

The Market Needs 'Shoot the Lights Out' Earnings, Says Jim Cramer

The Market Needs 'Shoot the Lights Out' Earnings, Says Jim Cramer

Jim Cramer's Reveals His Concern About Earnings Season

Jim Cramer's Reveals His Concern About Earnings Season

Survive and Thrive in the Current Market With These Trading Strategies

Survive and Thrive in the Current Market With These Trading Strategies