Answer
Smallpox inoculation was the cause of Edwards's death. Inoculation, an early form of immunization, involved introducing a weakened form of the smallpox virus into the body to stimulate immunity. While it was effective in preventing severe smallpox, there were still risks associated with the procedure, and in Edwards's case, it unfortunately led to his demise.