Sultan Ahmad was bitter over the slights and insults from Malacca and particularly took offense to Mahmud Shah's abduction of Tun Teja. Unable to get reveange and shamed before his subjects, he abdicated in favour of his very young son,
Raja Mansur. The new ruler was placed under the guardianship of his cousins, the three sons of
Muhammad Shah. In describing Ahmad Shah's life after the abdication, the
Malay Annals noted: "his highness went upstream for so long as the royal drums could be heard; when he came to Lubuk Pelang (in present-day
Jerantut constituency) there he resided, and the sound of the drums was no longer heard. He went into religious seclusion; he it is whom people call
Marhum Syeikh." Sultan Abdul Jamil (also pronounced 'Abdul Jalil'), on the other hand, is believed to have reigned and died at Pekan, instead of Lubuk Pelang, based on the discovery of a tombstone with his name at
Makam Ziarat Raja Raden, Pekan. Centuries later in 1862, the shrine of
Marhum Syeikh at Lubuk Pelang became the location where Wan Ahmad, the future
Sultan Ahmad of modern
Pahang, took his vows before routing the remaining forces of
Tun Mutahir in the
Pahang Civil War. ==References==