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 died in prison.