The room was in the darkness when he woke up and saw his friend at the end of his bed. They attended grade 2 together and they were best friends. His friend had been absent from school the last whole week. He only knew his friend was very ill and had to stay at the hospital. Now he was there smiling at him. He smiled back and then his friend walked out of the room. He didn't follow him. He knew.
Tales of widows seeing their late husband sitting on the foot of their bed or children encountering the manifestation of their dead sibling in their bedroom are legion, and even recently departed family pets have even been occasionally reported. Many had been written about spirits and ghosts, but this particular phenomena is usually the shortest in duration of all encounters where the spirit simply stays behind to give to a loved one, the last farewell.
The 'goodbye ghost' is a manifestation that appears—often only once—to either say goodbye to a loved one bereaved by their loss or to simply send a signal that they are well and have passed over successfully. These manifestations can be as simple as turning on lights or tuning a radio to a particular station the deceased was known to favor while alive to something as dramatic as a full-body manifestation.
However, these reports must be examined within the context of the many ways grief can manifest itself in one's imagination to produce the very fantasy a bereaved loved one 'needs' to bring closure to a tragic event. Grief hallucinations are a normal reaction to bereavement but are rarely discussed, because people fear they might be considered insane or mentally destabilised by their loss.
Read more here