https://en.wikipedia.org/wiki/John_Quincy_Adams#Death
Death
John Quincy Adams's original tomb at Hancock Cemetery, across the street from United First Parish Church
In 1846, the 78-year-old former president suffered a stroke that left him partially paralyzed. After a few months of rest, he made a full recovery and resumed his duties in Congress. When Adams entered the House chamber, everyone "stood up and applauded."
On February 21, 1848, the House of Representatives was discussing the matter of honoring U.S. Army officers who served in the MexicanAmerican War. Adams had been a vehement critic of the war, and as Congressmen rose up to say, "Aye!" in favor of the measure, he instead yelled, "No!" He rose to answer a question put forth by Speaker of the House Robert Charles Winthrop. Immediately thereafter, Adams collapsed, having suffered a massive cerebral hemorrhage. Two days later, on February 23, he died at 7:20 p.m. with his wife at his side in the Speaker's Room inside the Capitol Building in Washington, D.C.; his only living child, Charles Francis, did not arrive in time to see his father alive. His last words were "This is the last of earth. I am content."
His original interment was temporary, in the public vault at the Congressional Cemetery in Washington, D.C. Later, he was interred in the family burial ground in Quincy, Massachusetts, across from the First Parish Church, called Hancock Cemetery. After Louisa's death in 1852, his son had his parents reinterred in the expanded family crypt in the United First Parish Church across the street, next to John and Abigail. Both tombs are viewable by the public. Adams's original tomb at Hancock Cemetery is still there and marked simply "J.Q. Adams".