Need help on visa

My wife came to doha at family visit. after a while she applied in a company and was issued with a working visa. however she haven't undergo her medical exam and fingerprint yet. This means she has no RP. Now, she wants to resign in this company and go home to our country. Is the 2 years ban applicable to her? Does she needs any exit permit from the comapany? Can she come back again with family visit as before and how long before I can process it again? Need your advise guys..thanks in advance.
How long can I apply for her another family visit after she left doha?
no need for exit permit, even that working visa was issued, still it was not transferred.
Thanks for the advises..
she can go back , but need exit permit from the company. No ban for 2years.
Her previous visa which is family visit was converted to working visa ("working visa_yearly visit"-as stated in the visa printout) by the company but her medical and fingerprint was not yet done. she has no residence permit yet.She is planning to go home before doing this medical and fingerprint to avoid the ban.
If it's not yet processed she can comeback anytime and doesn't need exit permit my question is how come she had working visa if it's not yet process?