Question: what to say to a friend who is lost?
Answer: Offer your sympathy, hug the person if it is appropriate, and then back away. Then let someone else have a chance to offer condolences. If the person wants to talk, listen. Sometimes it's best to not say anything but simply be there to show your support.