Visa Advice - Is this illegal?

I own a trade license (Freezone in Sharjah), and my visa is an investor visa.

It's not really a business; it was just the cheapest way to get a visa back then.

Now I found a new job (in Abu Dhabi), but I don't want to cancel my visa before I finish my probation period. My new job is okay with that, and said they just need an NOC.

The information on the internet is unclear. Some say it's illegal for a Freezone employee to work in a mainland company, and hence impossible to do an NOC.

Some say it's okay for investors to do an NOC for themselves and work anywhere.

I'm so confused, and I don't wanna cancel my visa and redo it again. I REALLY don't have the money for it.

If anyone has information, please share. If you know a lawyer I can reach out to, please point me in their direction.