I think you did the right thing. A very proud man, he asked for no visitors. I understand his feeling. As his friend, you did well to respect his wishes.Whether or not to see a friend who is facing the end of life when that person does not wish to be seen, is a very hard call to make. My best man at my wedding and a good friend was waiting on a organ transplant that never came. His health and physical appearance continued to fail and being a very proud man and knowing what was to come, made it clear he did not want to receive visitors. I honored that request but to this day, I have second thoughts and regrets.
Did I do the right thing? Would my visiting him anyway been more about me than him? I don't have the answer. I wish I did.