James Buchanan's cause of death was Respiratory Failure. Respiratory failure results from inadequate gas exchange by the respiratory system, meaning that the arterial oxygen, carbon dioxide, or both cannot be kept at normal levels.
James Buchanan Knowledge Showdown: Will You Emerge Victorious?