What is the procedure for a pledgor to sell the thing pledged before the debt maturity date? 
The pledgor can apply to the court for permission to sell the thing pledged if there is an opportunity to do so through a profitable contract. The court, upon granting permission, will determine the conditions of the sale and decide how the proceeds should be deposited.