Charles V (Spanish: Carlos; German: Karl; Italian: Carlo; Latin: Carolus; Dutch: Karel; French: Charles,  24 February 1500 - 21 September 1558) was ruler of both the Spanish Empire as Charles I from 1516 and the Holy Roman Empire as Charles V from 1519, as well as of the lands of the former Duchy of Burgundy from 1506. He stepped down from these and other positions by a series of abdications between 1554 and 1556. Through inheritance, he brought together under his rule extensive territories in western, central, and southern Europe, and the Spanish viceroyalties in the Americas and Asia.
Death
In August 1558, Charles was taken seriously ill with what was later revealed to be malaria. He died in the early hours of the morning on 21 September 1558, at the age of 58, holding in his hand the cross that his wife Isabella had been holding when she died.  Charles was originally buried in the chapel of the Monastery of Yuste, but he left a codicil in his last will and testament asking for the establishment of a new religious foundation in which he would be reburied with Isabella. Following his return to Spain in 1559, their son Philip undertook the task of fulfilling his father's wish when he founded the Monastery of San Lorenzo de El Escorial. After the Monastery's Royal Crypt was completed in 1574, the bodies of Charles and Isabella were relocated and re-interred into a small vault directly underneath the altar of the famous Basilica of the Monastery, in accordance with Charles's wishes to be buried "half-body under the altar and half-body under the priest's feet" side by side with Isabella. They remained in this vault until 1654 when they were later moved into the Royal Pantheon of Kings by their great-grandson Philip IV, who, in doing so, disrespected his great-grandfather's wishes.  On one side of the Basilica are bronze effigies of Charles and Isabella, with effigies of their daughter Maria of Austria and Charles's sisters Eleanor of Austria and Maria of Hungary behind them. Exactly adjacent to them on the opposite side of the Basilica are effigies of their son Philip with three of his wives and their ill-fated grandson Carlos, Prince of Asturias.

Q: How did charles die?
A: Charles was taken seriously ill with what was later revealed to be malaria.

Q: How did he catch malaria
A: unknown

Q: During his last days what did charles do?
A: holding in his hand the cross that his wife Isabella had been holding when she died.
Did he have any kids?
their son Philip undertook the task of fulfilling his father's wish when he founded the Monastery of San Lorenzo de El Escorial.
their son Philip undertook the task of fulfilling his father's wish when he founded the Monastery of San Lorenzo de El Escorial.