As you can guess the people of Twitter were not amused.
The unusual exchange occurred towards the end of an executive order signing at the White House on Friday where the President reinstated the long dormant National Space Council.
Vice President Mike Pence was placed in charge of the council, which was initially dissolved in 1993, and will now review spending for the United States space policy, with members of NASA also sitting on the committee.
This will include civil, commercial and military space projects but it remains to be seen how it will deal with private companies like SpaceX and Blue Origin who are trying to reduce the costs of space travel.
You can watch a full video of the signing below which includes the Toy Story quote.
Hopefully this is the last time anyone quotes Toy Story to the President.
We'd hate to see how he would react to 'There's a snake in my boot.'