how did sam get out of lucifer's cage
Sam Winchester Almost a year has passed since Sam went to Hell, and he reappears to Dean after saving him from Djinn poisoning. Upon their reunion, Sam reveals that he has been back this whole time searching for whatever force brought him back and hunting with his mother's side of the family, the Campbells, led by their grandfather Samuel who was also resurrected.[47] While hunting with Sam again, Dean quickly notices how different he acts. These include using a baby as bait, allowing a child to go through a torturous treatment to gain information, and allowing Dean to become a vampire.[48][49][50] After facing the goddess Veritas, Dean and Castiel question Sam's behavior. Castiel then reveals that Sam's soul is not with him and is still trapped in Lucifer's Cage.[51][52] It is revealed that Crowley brought back Samuel so that they could help him find Purgatory, the afterlife of monsters, and that Samuel has been working for him. Crowley then states that if Sam and Dean help him he will return Sam's soul, but if they do not help him he will send Sam back to Hell.[52][53] Although Sam still retains his memories, likes, dislikes, and is capable of making rational decisions, he is completely without emotion and appears almost inhuman.[51][53]
John Winchester (Supernatural) Twenty-two years after Mary's death, John disappears while on a hunt, forcing Sam and Dean to reunite in an unsuccessful attempt to find him. Sam returns to the life of a hunter after Azazel kills his girlfriend.[7] John reluctantly chooses to avoid his sons throughout most of the season while he investigates something,[12] eventually reuniting with them in the episode "Shadow." However, the demonic Meg Masters attacks them and reveals that Azazel is after John. After escaping from Meg, the brothers split up from their father to keep him from the demons.[13] When vampires murder his old mentor and steal the Colt—a mystical gun capable of killing anything—John teams up with Sam and Dean in "Dead Man's Blood" to retrieve it. Because demons cannot be killed by conventional means, they hope that the Colt will be effective against Azazel.[14] In response, Meg begins killing the Winchesters' friends in "Salvation," and threatens to kill more unless they deliver the Colt. John is captured after trying to give her a fake gun,[15] and reveals himself to be possessed by Azazel when the brothers come to his rescue in the first season finale "Devil's Trap." However, he manages to resist the demon's control. Despite John's pleas for Sam to shoot him with the Colt, Sam cannot bring himself to do so and allows Azazel to escape. As the Winchesters flee in Dean's Impala, a demonically-possessed trucker crashes into them.[16]