Document everything and have it all ready to go while you search for a new position. Don't retaliate just document as much as possible.
After you leave drop it on the CEO's desk on the way out.
After you leave drop it on the CEO's desk on the way out.