The White House coordinated with U.S. Navy officials to move the USS John S. McCain “out of sight” during President Donald Trump’s recent visit to Japan, The Wall Street Journal and The New York Times reported Wednesday.

The Journal, which first reported the story, obtained a copy of an email from an official with the U.S. Indo-Pacific Command. In the note, the unnamed official said he had coordinated with the White House before Trump’s visit and asked other officials working with the Navy and Air Force to comply with instructions for the president’s trip.

“USS John McCain needs to be out of sight,” the email read, listing the request as the third provision in the note. “Please confirm #3 will be satisfied.”

The Navy gave all sailors aboard the ship the day off on Tuesday as Trump visited Yokosuka Naval Base, the Journal and the Times reported. The ship is named in honor of three generations of McCains, who all share the name and served in the Navy.

McCain sailors were not invited to see Trump speak that day, unlike sailors from other American warships at the base, the Times reported, citing several unnamed Navy service members.

The White House and the Pentagon did not immediately respond to HuffPost’s requests for comment.

Amid the reports, Trump wrote a message on Twitter saying he was “not informed” of the request but “loved being with our great Military Men and Women” during his visit.