He had to give up Samana towards the end of 1710 AD when it was retaken by the Mughals. The Sikhs retook it once again in 1742 AD under the leadership of Maharaja Ala Singh, the founder Maharaja of the Patiala State, and was recognized as a part of his territories by Ahmad Shah Durrani.
The passage describes a historical shift in control over Samana, highlighting the changing political landscape of the region during the 18th century.