They camped when the Lord told them to, and left when he told them to. They followed the Lord's instructions that he gave to Moses.