i am so sorry to hear this, but you did try your best, sadly we are sometimes hampered by other people, and it isnt our fault. The important thing for him is that he had somewhere safe and warm, and when he felt really poorly, there were some loving people who allowed him to be set free, his ending could have been so much worse, and he has you to be thankful for that.
RIP little one