I'm so sorry for the loss of your dear friend. The bonds we make with our pets are very, very special. You provided him with a home, where he was loved and cared for. And they do know they are and were loved, it stays with them whatever happens.
Take good care of yourself. Huge hugs to you.