The Israelites moved on when the Lord told them to, and set up camp when the Lord told them to. While the cloud stayed over the Tabernacle, they remained camped there.
Then all the Israelites left the Desert of Sin, going from place to place as they followed the Lord's commands. They camped at Rephidim, but there wasn't any water for the people to drink.