Shahjahan's son was Aurangzeb (1658 1707), who overthrew his father and imprisoned him in the Agra fort for the last years of his life.
Shahjahan and Aurangzeb spent many happy years together until Shahjahan's death.