He was released from a mental institution, not a prison. More likely than not, the insurance covered only so long a stay, refused to continue to pay, so they released him.
That insurance company lost two paying customers.
There are bad seeds. This guy is one.