Hello,
As per law and standard contract in QATAR, companies have to repatriate the employee at company's expense at the end of contract. but it is definitely written in your contract please read.
thanks