Answer the question at the end by quoting:

Abner Doubleday (June 26, 1819 - January 26, 1893) was a career United States Army officer and Union general in the American Civil War. He fired the first shot in defense of Fort Sumter, the opening battle of the war, and had a pivotal role in the early fighting at the Battle of Gettysburg. Gettysburg was his finest hour, but his relief by Maj. Gen. George G. Meade caused lasting enmity between the two men.
At the start of the Battle of Gettysburg, July 1, 1863, Doubleday's division was the second infantry division on the field to reinforce the cavalry division of Brigadier General John Buford. When his corps commander, Major General John F. Reynolds, was killed very early in the fighting, Doubleday found himself in command of the corps at 10:50 am. His men fought well in the morning, putting up a stout resistance, but as overwhelming Confederate forces massed against them, their line eventually broke and they retreated back through the town of Gettysburg to the relative safety of Cemetery Hill south of town. It was Doubleday's finest performance during the war, five hours leading 9,500 men against ten Confederate brigades that numbered more than 16,000. Seven of those brigades sustained casualties that ranged from 35 to 50 percent, indicating the ferocity of the Union defense. On Cemetery Hill, however, the I Corps could muster only a third of its men as effective for duty, and the corps was essentially destroyed as a combat force for the rest of the battle; it would be decommissioned in March 1864, its surviving units consolidated into other corps.  On July 2, 1863, Army of the Potomac commander Maj. Gen. George G. Meade replaced Doubleday with Major General John Newton, a more junior officer from another corps. The ostensible reason was a false report by XI Corps commander Major General Oliver O. Howard that Doubleday's corps broke first, causing the entire Union line to collapse, but Meade also had a long history of disdain for Doubleday's combat effectiveness, dating back to South Mountain. Doubleday was humiliated by this snub and held a lasting grudge against Meade, but he returned to division command and fought well for the remainder of the battle. He was wounded in the neck on the second day of Gettysburg and received a brevet promotion to colonel in the regular army for his service. He formally requested reinstatement as I Corps commander, but Meade refused, and Doubleday left Gettysburg on July 7 for Washington.  Doubleday's indecision as a commander in the war resulted in his uncomplimentary nickname "Forty-Eight Hours."

what was the end of the battle like for him?

the corps was essentially destroyed as a combat force for the rest of the battle;



Answer the question at the end by quoting:

Ernest Miller Hemingway (July 21, 1899 - July 2, 1961) was an American novelist, short story writer, and journalist. His economical and understated style--which he termed the Iceberg Theory--had a strong influence on 20th-century fiction, while his adventurous lifestyle and his public image brought him admiration from later generations. Hemingway produced most of his work between the mid-1920s and the mid-1950s, and won the Nobel Prize in Literature in 1954. He published seven novels, six short-story collections, and two non-fiction works.
Ernest Miller Hemingway was born on July 21, 1899, in Oak Park, Illinois, a suburb of Chicago. His father, Clarence Edmonds Hemingway, was a physician, and his mother, Grace Hall Hemingway, was a musician. Both were well-educated and well-respected in Oak Park, a conservative community about which resident Frank Lloyd Wright said, "So many churches for so many good people to go to". For a short period after their marriage, Clarence and Grace Hemingway lived at first with Grace's father, Ernest Hall, their first son's namesake. Later, Ernest Hemingway would say that he disliked his name, which he "associated with the naive, even foolish hero of Oscar Wilde's play The Importance of Being Earnest". The family eventually moved into a seven-bedroom home in a respectable neighborhood with a music studio for Grace and a medical office for Clarence.  Hemingway's mother frequently performed in concerts around the village. As an adult, Hemingway professed to hate his mother, although biographer Michael S. Reynolds points out that Hemingway mirrored her energy and enthusiasm. Her insistence that he learn to play the cello became a "source of conflict", but he later admitted the music lessons were useful to his writing, as is evident in the "contrapuntal structure" of For Whom the Bell Tolls. The family spent summers at Windemere on Walloon Lake, near Petoskey, Michigan. Hemingway's father taught him to hunt, fish, and camp in the woods and lakes of Northern Michigan as a young boy, early experiences in nature that instilled a passion for outdoor adventure and living in remote or isolated areas.  From 1913 until 1917, Hemingway attended Oak Park and River Forest High School. He took part in a number of sports--boxing, track and field, water polo, and football. He excelled in English classes, and with his sister Marcelline, performed in the school orchestra for two years. During his junior year he had a journalism class, structured "as though the classroom were a newspaper office", with better writers submitting pieces to the school newspaper, The Trapeze. Hemingway and Marcelline both had pieces submitted; Hemingway's first piece, published in January 1916, was about a local performance by the Chicago Symphony Orchestra. He edited the Trapeze and the Tabula (the yearbook), imitating the language of sportswriters, taking the pen name Ring Lardner, Jr.--a nod to Ring Lardner of the Chicago Tribune whose byline was "Line O'Type".  Like Mark Twain, Stephen Crane, Theodore Dreiser and Sinclair Lewis, Hemingway was a journalist before becoming a novelist; after leaving high school he went to work for The Kansas City Star as a cub reporter. Although he stayed there for only six months, he relied on the Star's style guide as a foundation for his writing: "Use short sentences. Use short first paragraphs. Use vigorous English. Be positive, not negative."

Why was it a conflict?
he later admitted the music lessons were useful to his writing, as is evident in the "contrapuntal structure"