While working nearby on a farm where Scruggs' deputy had placed him, Allensworth met Soldiers from the 44th Illinois Volunteer Infantry Regiment, a Union unit encamped near Louisville. When he told them of wanting freedom, they invited him to join the Hospital Corps. In disguise, he marched with the unit past his old master through Louisville and off to war. After serving as a civilian nursing aide for some time, he was invited to accompany Dr. A. J. Gordon, one of the Surgeons, to his home in Georgetown, Ohio. There Allensworth dined with Gordon's family, was given a room of his own, and felt he first walked as a free man. With the war continuing, in 1863 Allensworth enlisted in the US Navy, where he earned his first pay as a free man. He was soon promoted to Captain's steward and clerk, and served on the gunboats Queen City and Tawah for two years.