 His hastily organized trains kept the Union Army well supplied, and he organized the returning trains to carry thousands of Union wounded to hospitals.After the Battle of Gettysburg, Haupt boarded one of his trains and arrived at the White House on July 6, 1863, becoming the first to inform President Lincoln that General Robert E. Lee's defeated Confederate army was not being pursued vigorously by Union Major General George G. Meade.During his service, Haupt developed and implemented "general principles of railroad supply operation" and "also detailed methods of construction and destruction of railroad equipment".