Foreign Company opens Qatari company then fails in a project, (Qatari) sponsor wants them to be responsible for their failure, manager refuses and wants to slip out of the country, claims resignation from foreign company.

This is why the sponsorship system exists.

He's most probably staying at the embassy to avoid Qatari law.