Some Connecticut parents reportedly pulled their kids out of school after first daughter and presidential adviser Ivanka TrumpIvanka TrumpAre the legal walls closing in on Donald Trump? WATCH: Weekend stories you might have missed Jan. 6 probe roils Cheney race in Wyoming MORE made a surprise visit.

Trump on Monday spoke to high school students at the Norwalk Early College Academy, a program at Norwalk High School that allows students to earn a high school diploma and associate’s degree in software engineering.

The visit was kept quiet due to security concerns, according to New Jersey’s News 12, which reported that parents who opposed the president’s views were upset that they did not know about the visit.

ADVERTISEMENT

"This should have been brought to our attention, although I do understand security reasons," parent Karey Fitzgerald told News 12. "I think we should have had the choice to send our child to school or keep them home."

Trump was joined by IBM CEO Ginni Rometty on the visit.