Your statement is very unclear. Exactly how does forgetting your Firefox master password prevent you from doing your job? Were other passwords also saved on the browser? If yes, that was inadvisable.
Mozilla allows you to reset the master password, at the cost of losing whatever you may have saved with it. The best course of action would be to go to all your other saved accounts and recover the passwords for those, assuming you can’t recall what they are. (This will depend on you having set up your email address correctly for those accounts.) Once it’s done, change all the reset passwords, & save them ELSEWHERE.
You might be able to use 3rd party utilities to recover the master password, but that’s a risk, because these may be malicious and compromise your system or account security. A corporate system may not warrant all that, so, for corporate accounts, ask your organisation administrator to reset passwords.
As a rule of thumb, never save your account passwords on a browser, to avoid having to use a master password — which can become a single point of failure.