WASHINGTON, DC - APRIL 30:  (CHINA OUT, SOUTH KOREA OUT) U.S. President Donald Trump speaks during a joint press conference with Nigerian President Muhammadu Buhari at the Rose Garden at the White House April 30, 2018 in Washington, DC. The two leaders also met in the Oval Office to discuss a range of bilateral issues earlier in the day.  (Photo by The Asahi Shimbun via Getty Images)
he Asahi Shimbun via Getty Images
WASHINGTON, DC - APRIL 30: (CHINA OUT, SOUTH KOREA OUT) U.S. President Donald Trump speaks during a joint press conference with Nigerian President Muhammadu Buhari at the Rose Garden at the White House April 30, 2018 in Washington, DC. The two leaders also met in the Oval Office to discuss a range of bilateral issues earlier in the day. (Photo by The Asahi Shimbun via Getty Images)
Now playing
01:59
Trump asked advisers about invading Venezuela
President Donald Trump addresses the 73rd session of the United Nations General Assembly, at U.N. headquarters, Tuesday, Sept. 25, 2018. (AP Photo/Richard Drew)
Richard Drew/AP
President Donald Trump addresses the 73rd session of the United Nations General Assembly, at U.N. headquarters, Tuesday, Sept. 25, 2018. (AP Photo/Richard Drew)
Now playing
02:17
Trump claim to world leaders met with laughter
Trump laughing with me
CNN
Trump laughing with me
Now playing
01:38
Trump: World leaders were laughing with me
CNN Illustration/Getty Images
Now playing
01:59
Trump warns about doing business with Iran
President Donald Trump talks on the phone aboard Air Force One during a flight to Philadelphia, Pennsylvania, to address a joint gathering of House and Senate Republicans, Thursday, January 26, 2017. This was the Presidentâs first Trip aboard Air Force One. (Official White House Photo by Shealah Craighead)
Shealah Craighead/White House Photo/Getty Images
President Donald Trump talks on the phone aboard Air Force One during a flight to Philadelphia, Pennsylvania, to address a joint gathering of House and Senate Republicans, Thursday, January 26, 2017. This was the Presidentâs first Trip aboard Air Force One. (Official White House Photo by Shealah Craighead)
Now playing
01:36
WH stops summarizing calls with world leaders
CNN
Now playing
01:32
Clarke: Trump diminishes US role and influence
US President Donald Trump and Russia's President Vladimir Putin attend a joint press conference after a meeting at the Presidential Palace in Helsinki, on July 16, 2018. (Photo by Brendan SMIALOWSKI / AFP)        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
BRENDAN SMIALOWSKI/AFP/Getty Images
US President Donald Trump and Russia's President Vladimir Putin attend a joint press conference after a meeting at the Presidential Palace in Helsinki, on July 16, 2018. (Photo by Brendan SMIALOWSKI / AFP) (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
01:59
Trump: We are all to blame for Russia relations
SAN FRANCISCO, CA - FEBRUARY 08:  Canada Prime Minister Justin Trudeau looks on before speaking to members of the media during a visit to AppDirect on February 8, 2018 in San Francisco, California. Trudeau is visiting several cities in the U.S.  (Photo by Justin Sullivan/Getty Images)
Justin Sullivan/Getty Images North America/Getty Images
SAN FRANCISCO, CA - FEBRUARY 08: Canada Prime Minister Justin Trudeau looks on before speaking to members of the media during a visit to AppDirect on February 8, 2018 in San Francisco, California. Trudeau is visiting several cities in the U.S. (Photo by Justin Sullivan/Getty Images)
Now playing
00:57
WaPo: Trump admits he gave Trudeau false info
US President Donald Trump and French President Emmanuel Macron hold a joint press conference at the White House in Washington, DC, on April 24, 2018. (Photo by LUDOVIC MARIN / AFP)        (Photo credit should read LUDOVIC MARIN/AFP/Getty Images)
LUDOVIC MARIN/AFP/Getty Images
US President Donald Trump and French President Emmanuel Macron hold a joint press conference at the White House in Washington, DC, on April 24, 2018. (Photo by LUDOVIC MARIN / AFP) (Photo credit should read LUDOVIC MARIN/AFP/Getty Images)
Now playing
00:44
Trump has 'terrible' phone call with Macron
photo illustration: getty images/shutterstock/cnnmoney
Now playing
01:17
WH confirms Trump, Putin discussed meeting
travel ban trump then and now orig nws_00002328.jpg
travel ban trump then and now orig nws_00002328.jpg
Now playing
01:23
Trump's travel ban then and now
ABC News
Now playing
01:01
Trump touts trust with Kim in TV interview
Kevin Lim/THE STRAITS TIMES
Now playing
02:11
Memorable moments from the Singapore summit
TOPSHOT - A vendor picks up a 100 yuan note above a newspaper featuring a photo of US president-elect Donald Trump, at a news stand in Beijing on November 10, 2016.
The world's second-largest economy is US president-elect Donald Trump's designated bogeyman, threatening it on the campaign trail with tariffs for stealing American jobs, but analysts say US protectionism could create opportunities for Beijing. / AFP / GREG BAKER        (Photo credit should read GREG BAKER/AFP/Getty Images)
GREG BAKER/AFP/AFP/Getty Images
TOPSHOT - A vendor picks up a 100 yuan note above a newspaper featuring a photo of US president-elect Donald Trump, at a news stand in Beijing on November 10, 2016. The world's second-largest economy is US president-elect Donald Trump's designated bogeyman, threatening it on the campaign trail with tariffs for stealing American jobs, but analysts say US protectionism could create opportunities for Beijing. / AFP / GREG BAKER (Photo credit should read GREG BAKER/AFP/Getty Images)
Now playing
01:48
US trade with China, explained
CNN
Now playing
01:07
Trump announces withdrawal from Iran deal
US President Donald J. Trump delivers his first address to a joint session of Congress from the floor of the House of Representatives in Washington, DC, USA, 28 February 2017.   / AFP / EPA POOL / JIM LO SCALZO        (Photo credit should read JIM LO SCALZO/AFP/Getty Images)
JIM LO SCALZO/AFP/Getty Images
US President Donald J. Trump delivers his first address to a joint session of Congress from the floor of the House of Representatives in Washington, DC, USA, 28 February 2017. / AFP / EPA POOL / JIM LO SCALZO (Photo credit should read JIM LO SCALZO/AFP/Getty Images)
Now playing
01:46
Trump's foreign policy: One thing to know
(CNN) —  

President Donald Trump last August asked several top foreign policy advisers about the possibility of invading Venezuela during a meeting about diplomatic sanctions the US was enacting on the autocratic government, a senior administration official familiar with the comments said.

Trump’s aides, including then-national security adviser HR McMaster, vigorously urged him against the notion of a military invasion of Venezuela, warning him it could backfire and explaining that US allies in the region were firmly opposed to such drastic action. Taking military action against Venezuela would be a dramatic escalation of the US’s so-far solely diplomatic and sanctions-focused response to the political and economic crisis roiling the South American country.

Still, the official with knowledge of Trump’s private comments noted there was “no imminent plan for a military strike” and chalked the comments up to Trump thinking “out loud.”

“The President says and thinks a lot of different things,” the official said. “He just thinks out loud.”

Venezuela President Nicolas Maduro reacted to Trump’s comments on Wednesday, urging the country’s armed forces not to “lower their guard.”

“We need to defend our right for peace, dignity and for the right to chose our own destiny,” Maduro said during a military ceremony in Caracas. “No empire is going to choose for us!”

“A military invasion from the US empire will never be a solution for Venezuela’s problems, never,” he added. “The greatest right our people have is the right to live in peace.”

Trump’s private comments to his advisers were first reported by the Associated Press. They came a day before he said publicly – standing alongside then-Secretary of State Rex Tillerson and US ambassador to the UN Nikki Haley – that he was not taking “a military option” against Venezuela off the table.

Trump in the following month continued to press Latin American leaders about the possibility, including on the sidelines of the UN General Assembly when he dined with many of those leaders – all of whom said they did not want a US invasion of Venezuela.

Venezuela has been a key focus of the Trump administration’s policy toward Latin America, with Trump taking numerous steps to ratchet up pressure on the government of Venezuelan President Nicolas Maduro. The administration has enacted numerous sanctions and issued strongly worded statements urging the Venezuelan government to allow free and fair elections to take place.

Vice President Mike Pence has also met numerous times with Venezuelan opposition leaders and has issued stinging criticisms of the Venezuelan government during his recent trips to Latin America.

Trump’s comments were not the first time he has raised the possibility of military action against another country. Before the cooling of tensions with North Korea in recent months, Trump deliberated with aides about the possibility of preventive strikes against the Pyongyang regime and in January sought to order the evacuation of US military dependents in South Korea – sounding alarms among the President’s top national security aides who worried North Korea might interpret the move as wartime preparations.

Just as with his discussions of military action in Venezuela, Trump’s aides dissuaded him from taking such brash action.

CNN’s Flora Charner and CNN en Español’s Daniel Silva Fernandez contributed to this report.