It is a very positive, strong ethical position to take. I doubt that I would have had the fortitude to react in the same way as the GP.
Coasting with the company while finding a new job shows an ethical attitude which is similar to the company itself.
I don't think there's anything wrong with staying at a company while looking for a new job. Do you disagree, or is it specifically the mention of "coasting" that's objectionable?
I.e. it's possible to continue to do your job within normal parameters while still looking for the next thing. Defining this as ethically dubious gives too much power to employers, IMHO.