It would have been more pragmatic to fire up leetcode, take a few interviews, and leave the job professionally. This probably would have come with a small pay bump, even with this persons limited professional experience.
Maybe I'm just lucky and I've never had a bad experience like this, but I couldn't see myself posting something like this professionally.