Updated at 7:50 p.m. ET
President Trump said he would walk away from a planned meeting with North Korea's leader, Kim Jong Un, if it looked like the two sides were not going to be able to reach a deal.
"If we don't think it's going to be successful ... we won't have it," Trump said at a joint press conference with Japanese Prime Minister Shinzo Abe Wednesday at Trump's Mar-a-Lago resort. "If the meeting when I'm there is not fruitful, I will respectfully leave the meeting."
"I like always remaining flexible, and we'll remain flexible here," he said.
Trump also said that the U.S. is negotiating with North Korea over the three Americans being held in the country. "We're doing our very best" to get them released, he said.
Trump's remarks came at the end of two days of meetings with Abe at the private, South Florida resort.
Much of their conversation focused on the nuclear threat posed by North Korea, as Trump is preparing for the summit with North Korea's Kim.
Trump told reporters that he would like to see peace on the Korean Peninsula and the end of North Korea's development of nuclear weapons.
During the wide-ranging press conference, Trump also took a question on the Justice Department's special counsel probe of Russian interference in the 2016 presidential election.
Trump repeated his charge that the Russia matter is a "hoax," but he stopped short of saying he would fire special counsel Robert Mueller or Deputy Attorney General Rod Rosenstein, who has overseen the Justice Department investigation since last year.
"They've been saying I'm going to get rid of them for the last three months, four months, five months, and they're still here." Trump said.
He reiterated his view that there was no collusion between his campaign and the Russians involved in the election interference. He also said that the White House has been cooperating with the Mueller investigation and "we want to get it over with, done with, put it behind us."
The president confirmed earlier on Wednesday that he sent CIA Director Mike Pompeo on a secret mission to North Korea over Easter weekend to begin laying the groundwork for the planned meeting with Kim. The clandestine diplomatic trip was first reported by the Washington Post.
Pompeo "had a great meeting with Kim Jong Un," Trump told reporters. "Got along with him really well, really great." Earlier the president tweeted that "a good relationship was formed," paving the way for possible denuclearization.
Abe is nervous that Trump might come away from his meeting with Kim after agreeing to something less than a full dismantling of the North Korean nuclear program. The Japanese prime minister stressed that denuclearization must be "complete, verifiable, and irreversible."
The two leaders have also discussed trade. Trump complains the U.S. had a trade deficit with Japan last year of $56 billion. He has leveled 25 percent tariffs on steel imports from Japan, while granting an exemption to other big steel exporters such as Canada and South Korea.
Last week, in a meeting with farm-state lawmakers and governors, Trump floated the idea of rejoining a trade deal with Japan and 10 other countries that the Obama administration negotiated. Abe would welcome that, but Trump quickly backtracked, tweeting on Tuesday that he doesn't believe the Trans-Pacific Partnership is a good deal for the United States.
Abe said during the press conference that Japan had agreed to enter into talks with the U.S. on "free, fair and reciprocal trade deals at this time," but it's not entirely clear as of this writing whether he was talking about a strictly bilateral trade agreement, which Japan has resisted. He did not clarify when a U.S. reporter asked him to do so.
Trump and Abe are both avid golfers and conducted part of their meeting on the links Wednesday at one of the president's namesake courses.
Most of their talks took place at Mar-a-Lago, Trump's ornate Palm Beach club, with the closing news conference taking place in a gilded ballroom beneath crystal chandeliers.
ARI SHAPIRO, HOST:
President Trump has wrapped up a two-day meeting in Florida with Japanese Prime Minister Shinzo Abe. They've been talking about the nuclear threat posed by North Korea and some contentious trade issues. The two leaders took questions at a news conference this evening. NPR's Scott Horsley was there and joins us now. Hi, Scott.
SCOTT HORSLEY, BYLINE: Hi, Ari.
SHAPIRO: One major topic of conversation was the possible upcoming meeting between Trump and North Korean leader Kim Jong Un. What more have you learned about that?
HORSLEY: President Trump revealed today that he sent his nominee for secretary of state, Mike Pompeo, on a secret mission to North Korea over the Easter weekend. Pompeo's mission there was to lay the groundwork for an upcoming summit between the president and Kim Jong Un. Trump says the visit with Pompeo went smoothly, that a good relationship is taking shape. And he's optimistic his meeting with Kim may yield progress on denuclearization.
(SOUNDBITE OF ARCHIVED RECORDING)
PRESIDENT DONALD TRUMP: We've never been in a position like this with that regime, whether it's father, grandfather or son. And I hope to have a very successful meeting. If we don't think it's going to be successful, Mark (ph), we won't have it. We won't have it. If I think that it's a meeting that is not going to be fruitful, we're not going to go.
HORSLEY: And the president said he would also be willing to walk out of the meetings if he gets there and then they turn out not to be productive.
SHAPIRO: Another sensitive issue between the two countries is trade. Has any progress been made on that front?
HORSLEY: It's a little bit of a mystery. You know, Trump pulled out of the big Asia-Pacific trade deal that Japan is a part of and that was negotiated by President Obama. Trump prefers to negotiate one-on-one with other countries. Up until now, Japan has resisted bilateral trade talks with the U.S. But Prime Minister Abe suggested through an interpreter this evening there may be movement on that score.
(SOUNDBITE OF ARCHIVED RECORDING)
PRIME MINISTER SHINZO ABE: (Through interpreter) At this time, President Trump and I agreed to start talks for free, fair and reciprocal trade deals.
HORSLEY: Now, one caveat, Ari - Abe is talking there about deals, plural, suggesting he's still after some kind of regional trade agreement. And he adopted the Trump administration's preferred phrase of the Indo-Pacific region. Abe is also complaining about those steel tariffs that the Trump administration has slapped on Japan, and Trump himself made clear those tariffs, while supposedly imposed for national security reasons, are really just a bargaining chip that he would be willing to drop if he could get a trade deal with Japan.
SHAPIRO: You know, Scott, there's been so much news lately about the investigation by special counsel Robert Mueller. Did that come up at the news conference with President Trump today?
HORSLEY: The president was asked about that and whether he has decided it's just too politically risky to fire the special counsel or his Justice Department boss, Rod Rosenstein. Trump didn't really answer that question directly. Instead, he offered his usual defense that there was no collusion between his campaign and Russia, that the probe is a hoax. He once again insisted no one's been tougher on Russia than he has, although he did not explain the administration's apparent backtracking in recent days on another round of Russia sanctions.
SHAPIRO: That's NPR's Scott Horsley speaking with us from West Palm Beach, Fla. Thank you, Scott.
HORSLEY: Good to be with you, Ari. Transcript provided by NPR, Copyright NPR.