As per my knowledge, it is possible to change to work visa and there is some official charges for this.
Other wise you wnat exit the country and back to qatar with new visa, which is your employer provide to u. This possible by Bahrain air exit from doha to Bahrain and back to Doha same day or next flight.

But for this you need an NOC from the sponsor, who is provide the visit visa.