It happened to me
I got made redundant a few years ago from an Fin services company,I was told "We don't need a Developer anymore". I saw it coming for a long time and was the last of the 10 programmers since we got bought over. I was nice they were nice (mostly) I went through the wrung and was in a new job with 10% uplift within two weeks.
I was fairly friendly with the IT support bod who was doing basic maintenance on my code after I left.
I answered his first couple of queries and then figured out I was not an unpaid consultant.
So from that moment on the only answer I ever gave was : "You don't need a Developer anymore, remember "