US officials had to devise a covert plan to sneak Trump out of the country in an alternate jet following the threat.