They spent several days. When she was ready to go, she asked to give her the sun and the moon.
For several days, they were together.  When she was ready to leave, she asked them to hand over the sun and the moon.