Considerable skill was shown in keeping the presence of his royal guest a secret from the host himself till the Prince was gone. 
The presence of his royal guest was kept secret from the host himself till the Prince was gone. 