As soon as Jesus heard the news, he left in a boat to a remote area to be alone. Matthew 14:13
He has been where you are.
He takes a time out. He separates himself from the flock. He goes alone. After all, he is human. Knowing how precious John is to him, he may have felt in his heart the feeling you may have felt when someone dear to you past away or went away. Sadness. May be despair. Feeling of losing somebody you love, you value. May be the thought that you will never see that face again. May be the thought that you will never hear that voice again.
This is why this passage is so much important for you and me.
For us to know that Jesus had the same feeling. For us to know that we are not alone when we feel this way. For us to know that he has been there. For us to know that he understands our feeling of being abandoned. That he understands our agony. Our need to be alone. Our need to take some time out. A time to cry and may be celebrate the memories of your loved one. A moment to trace the moments with that somebody.
And because God understands, he knows how to comfort you. He knows how much strength and time you need to recover. He knows the path how you will recover. He knows whom he will send for you to lean on. He knows where to bring you to so you can muster yourself altogether. He knows when to give you whatever you need to stay in the valley and whatever you need when you emerge out of it.
So go ahead. If you need to take some time alone by yourself, take it. Jesus did. He understands.