"The president is returning to Delhi on Tuesday morning instead of evening, cancelling his programmes during the day," a protocol official told IANS.
The president is on overnight stay at Raj Bhavan in the city centre.
President Mukherjee was on a two-day visit to this southern state for attending a few events at Mysuru, Bengaluru and Kalaburgi in the state's northern region.
"With the central government declaring a seven-day national mourning as a mark of respect to Kalam, the president is constrained to cancel two events he was to attend on the second day of his state visit," the official said.
President Mukherjee was to fly to Kalaburgi via Bidar to preside over the Central University of Karnataka's second annual convocation.
"Returning here later in the day, the president was to dedicate to the nation the renovated heritage building and magneto encephalography research centre of the National Institute of Mental Health and Neuro Sciences," the official said.
On the first day of his visit, President Mukherjee heralded the year-long centenary celebrations of University of Mysore at Mysuru, about 140km from here, and then flew into the city and inaugurated the centenary year of the Federation of Karnataka Chamber of Commerce & Industry at Vidhana Soudha in the city centre.
"The passing away of Kalam was conveyed to the president after he came to Raj Bhavan from Vidhana Souda for overnight stay," the official added.
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019