Retail sales rebounded sharply in May as thousands of stores and restaurants reopened after lockdowns were lifted and federal stimulus checks and tax refunds fueled a burst of spending, a sign that the United States economy is lurching back to life. But while the 17.7 percent rise in sales reported on Tuesday is the largest monthly surge on record, the underlying data presents a more complicated picture and shows just how arduous an economic recovery from the coronavirus pandemic will be.

The May numbers followed two months of record declines, and overall sales were still down 8 percent from February. Some categories, like clothing, were down as much as 63 percent from a year earlier. And many of the stores and restaurants that welcomed back customers last month did so with fewer employees, reflecting a permanently altered retail landscape and an ominous sign for the labor market.

“I think a lot of it is lockdown fatigue,” said Beth Ann Bovino, chief U.S. economist at S&P Global. “I would caution not to be fooled by this large gain. We still have a long way to go in repairing the economy.” May’s retail sales figures became the latest data point fueling the debate in Washington and on Wall Street about whether a broad reopening of businesses will cause the economy to snap back quickly or if additional stimulus measures are needed.

President Trump immediately seized on the positive monthly figures as evidence that a recovery was taking hold. “Looks like a BIG DAY FOR THE STOCK MARKET, AND JOBS!” he wrote on Twitter minutes after the Commerce Department released the numbers.