It must have been difficult for you doing that.
Brings home the fact that life is very short, that it can change at any time, and we need to cherish what we have whilst we can.
Some may say that a man crying is a sign of weakness. No such thing. It shows you care.
I am sure all of us on this forum would like you to pass on our sympathies to your friend.