Don't panic. And “don't get mad, get even”. Having done your research to prove what you are worth, you now possess very useful information about the job market. Begin a “creative job search” – write letters to firms you might like to work for. Don't say you want to leave for more money, but do say that you feel your career has plateaued where you are. Get in touch with firms' HR departments. You may have heard that certain employers are not recruiting at the moment, but they will be interested in capable people, and may also have temporary or short-term vacancies which might be attractive and turn into something more long term. In the meantime get back to work and don't sulk – you will only get treated worse. Much more satisfying to resign in due course while announcing your new appointment at a more exciting company on a better rate of pay.