When President Trump suggested to an interviewer at the World Economic Forum in Switzerland that he would, “at some point,” look at cutting entitlement programs, his Democratic critics seized on the comments as evidence that Mr. Trump would gut Social Security, Medicare and Medicaid in a second term.

“Even as the impeachment trial is underway, Trump is still talking about cutting your Social Security,” Senator Chuck Schumer of New York, the Democratic leader, said at the beginning of a news conference that was ostensibly about the Senate impeachment trial.

The Democratic super PAC Priorities USA posted on Twitter about Mr. Trump’s remarks, and others contrasted his statement with his 2016 campaign pledge not to touch entitlement programs.

On Thursday, the president tried to clean up his own mess.

“Democrats are going to destroy your Social Security,” Mr. Trump tweeted shortly before leaving the White House for a campaign-related event in Florida. “I have totally left it alone, as promised, and will save it!”