You can go to the scenic spots during the day. Before 24:00, there is a night tour of the ancient city of Jiaohe, then sleep, and catch the train to Urumqi at 8 o'clock in the morning.
If you rent a car, you can visit all the scenic spots around the city, but you can't go to the desert. You can go to Jiaohe Ancient City, Flame Mountain, Grape Valley, and Karez well, and you have enough time.