"The precipitous withdrawal of United States forces from either country could put at risk hard-won gains and United States national security", reads the amendment, adding that "it is incumbent upon the United States to lead, to continue to maintain a global coalition against terror and to stand by our local partners".
Trump also ordered the military to develop plans to remove up to half of the 14,000 American forces in Afghanistan.
Robert Menendez, D-N.J., a ranking member of the Senate Foreign Relations Committee, who backed the measure as "an important message" for Trump. I think I'm right, but time will prove that.
But on Thursday, Trump claimed his intelligence chiefs - including Director of National Intelligence Dan Coats and CIA Director Gina Haspel - told him that they were misquoted by the press, although their testimony was aired live.
"ISIS and al-Qaida have yet to be defeated", McConnell said.
"This is just a way of saying that we in the Congress. the military. and the president agree", Sen.
According to a report from the Washington Post published Friday, McConnell told the president congress could pass a resolution disapproving an emergency declaration.
McConnell said this week that the Senate amendment "would acknowledge the plain fact that Al-Qaeda, [Islamic State], and their affiliates in Syria and Afghanistan continue to pose a serious threat to our nation".
Unlike the first years of the administration, when Republicans tested how publicly to oppose the president, often with mixed results, senators now seem to prefer softer diplomacy and private meetings to shape his policies. Senator Marco Rubio of Florida said during Thursday's debate, according to USA Today, arguing that an exit would effectively be a "win" for Iran, whose influence across the Middle East has gradually become a top US concern. "This amendment in no way authorizes USA forces to remain in Syria or Afghanistan permanently, nor does it alter the existing authorizations in place since 2001".
McConnell's comments attracted widespread scorn on Twitter from politicians past and present, including Sen.
Independent Sen. Bernie Sanders of Vermont said he thinks Trump announced the withdrawals too abruptly, but the U.S. has been in Afghanistan and Syria for too long. Rand Paul, missed the vote but said he was against it.
On Thursday, a majority from the US Senate voted in favour of Mr McConnell's amendment and in rebuking the White House policy.
"We're involved in wars that are 6,000 miles away".
Opponents say Rubio's measure infringes on free speech.