Losing your friend has to be one of the hardest things to deal with. If you guys were talking only for a week until that all happened, then of course after him loosing his friend he’s gonna ignore you. He’s probably only focused on the loss and trying to cope with people that knew of his friend aswell. He hardly even knows you! And you shouldn’t of asked him if you should leave or stay… leave and go where… you guys weren’t dating and weren’t even close enough to be close friends yet. Take my advice and just leave him be, it might take him months or even years to move on from a love one passing, when hes ready to talk he will but at this very moment you don’t have to wait around for a message from him and don’t bug him either. Live your life, while he’s trying to get together his. Until then you can only hope he gets better.