Always do your best work, even if you are upset with the company. Keep in mind your work reflects you to your professional network. And your professional network include your current coworkers. So it’s in your best interest to always be you, and not to just ship it in. If people notice, they will remember.
If you think your position is not salvageable your best bet now is to find a new job ASAP.