At first, the prince is amazed by what the king can do. If the prince could order whatever he wanted, he’d have sunsets all the time.
However, the king can’t order a sunset to happen right away. The prince realizes, then, that the king’s power isn’t all that. He only gives orders that will be obeyed anyway—for instance, he orders the sun to set at twenty to eight. Sometimes he has problems figuring out how to make his orders match the world around him.
Then, the prince decides he should get going; of course, as luck would have it, the king loves having a subject around and wants the prince to stay.