You can go to labor court and check your options. Dont leave without receiving your pending benefits and more importantly having your visa properly cancelled, as it could create trouble to your future in Qatar and even all over the Gulf. Dont sign any paper without considering well.