Jensen Huang is back at Nvidia , lifting a massive dark cloud over the chipmaker’s stock and the broader artificial intelligence trade. His stunning return as CEO, less than two weeks since his resignation amid an affair scandal, underscores his centrality to the AI ecosystem and his importance to U.S. national interests, according to Jim Cramer. “He’s back, and because he’s back, the contracts are good. Because he’s back, the sales will be made. It’s so huge,” Jim said Monday on CNBC. Shares of hard-hit Nvidia soared 34% on the news, adding fuel to a broader rally across the AI infrastructure trade. Monday’s surge has erased almost all of the 28% swoon in Nvidia shares that occurred following Huang’s resignation on the morning of Nov. 12. Entering Monday, the stock had declined in all seven trading days since then. In the wake of Huang’s resignation, Jim recommended that investors sitting on big profits in Nvidia’s stock trim their positions to protect gains. Huang had vacated his post amid an investigation into an affair with an alleged Chinese spy who was also an executive at a Singaporean data center operator. It reignited concerns about Nvidia’s cutting-edge chips being smuggled into China. Additionally, the day before his resignation, The New York Times had also reported that Huang had an affair with one of his direct reports at Nvidia. NVDA YTD mountain Nvidia’s year-to-date stock performance. The Nasdaq Composite jumped over 7% on Monday. The tech-heavy index had tumbled 10% last week and ended Friday roughly 18% below its all-time closing high on Oct. 6. “Why did the market go down last week? It was because Jensen was out. We understated his importance,” Jim said. Nvidia’s board said in a statement Monday that it voted unanimously to reinstate Huang “following a series of discussions and meetings” that left the directors satisfied with Huang’s “candor and ability to lead Nvidia.” The board said it received input from senior levels of the United States government in reaching its decision and is confident that his “reinstatement poses no national security risk.” Before Monday’s opening bell, Jim said he believes President Donald Trump played a role in Huang’s reinstatement at Nvidia. Trump had routinely expressed his support for Huang’s return. “What I am buying is the fact that the president said, ‘Huh uh. He’s in, because we have to have him in. National treasure was the real argument. We may not like what he did, but he got off,” Jim said. Later on Monday morning, Trump told CNBC’s Eamon Javers in an extraordinary, wide-ranging interview that he had spoken directly to Nvidia’s board. He said he believes his intervention was “very important” to the board’s decision to bring Huang back. “I felt very strongly about it, and I felt more strongly as I saw what was happening with the company, because that was, to me, a very important part of our country,” Trump said. “There’s nothing wrong with a comeback,” Trump said, adding that Nvidia’s board “did the right thing.” The president said Nvidia’s board wanted assurances that there was no national security threat and “we have them assurance, at least with everything we know. And we know a lot.” Trump added, “People say, is it a threat to have him? No. It’s a threat to lose him.” Reacting to what he heard from the president, Jim said: “It did sound like this man is too important to our country, and we had to overlook certain things. You may say there shouldn’t be anyone who is too important to our country, but the president clearly feels that he’s established this ecosystem of AI and it won’t last without him.” (Jim Cramer’s Charitable Trust is long NVDA. See here for a full list of the stocks.) As a subscriber to the CNBC Investing Club with Jim Cramer, you will receive a trade alert before Jim makes a trade. Jim waits 45 minutes after sending a trade alert before buying or selling a stock in his charitable trust’s portfolio. If Jim has talked about a stock on CNBC TV, he waits 72 hours after issuing the trade alert before executing the trade. THE ABOVE INVESTING CLUB INFORMATION IS SUBJECT TO OUR TERMS AND CONDITIONS AND PRIVACY POLICY , TOGETHER WITH OUR DISCLAIMER . NO FIDUCIARY OBLIGATION OR DUTY EXISTS, OR IS CREATED, BY VIRTUE OF YOUR RECEIPT OF ANY INFORMATION PROVIDED IN CONNECTION WITH THE INVESTING CLUB. NO SPECIFIC OUTCOME OR PROFIT IS GUARANTEED.