John F. Kennedy returned home to Hyannis Port , Mass . , while Dwight D. Eisenhower sought refuge at a small farm near Gettysburg , Pa . , that he and his wife purchased after decades of military life .