In October 1918, Shaw was promoted to temporary brigadier general and assigned to command the 36th Infantry Brigade, a subordinate command of the 18th Division based at Camp Travis, Texas. He also served as acting division commander on several occasions. The armistice that ended the war in November ended the need for the 18th Division to organize and train for combat, and it was inactivated in February 1919.