Longstreet missed the rest of the 1864 spring and summer campaign, where Lee sorely missed his skill in handling the army. On May 1, he was confirmed as an Episcopalian. He was treated in Lynchburg, Virginia, and recuperated in Augusta, Georgia, with his cousin, Emma Eve Longstreet Sibley, the daughter of his father's brother, Gilbert. While in Augusta, he participated in the funeral service for Lt. Gen. Leonidas Polk at Saint Paul's Church, joining the Bishops of Mississippi and Arkansas in casting earth onto the coffin. He rejoined Lee in October 1864, with his right arm paralyzed and in a sling, initially unable to ride a horse. He had taught himself to write with his left hand; by periodically pulling on his arm, as advised by doctors, he was able to regain use of his right hand in later years. At this time, Longstreet's staff underwent major changes. The most significant was the transfer of Sorrel, Longstreet's Chief of Staff, to brigade command. He was replaced by Major Osmun Latrobe. For the remainder of the Siege of Petersburg, Longstreet commanded the defenses in front of the capital of Richmond, including all forces north of the James River and Pickett's Division at Bermuda Hundred. He retreated with Lee in the Appomattox Campaign, commanding both the First and Third Corps, following the death of A.P. Hill on April 2.