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]
Castiel (Supernatural) At the end of the third season of Supernatural, main character Dean Winchester is in Hell after being killed by the hellhounds of the demonic antagonist Lilith. In the season four premiere "Lazarus Rising", the angel Castiel is introduced as the one who brought Dean back from Hell and resurrected him. Because merely perceiving his actual form typically results in blindness,[2] he takes a human host – James "Jimmy" Novak,[3] a "devout man" who prayed for it – to communicate with Dean, and tells him that he has been brought back because God has work for him.[2] Lilith is breaking the 66 seals in order to free Lucifer, and Dean must stop her.[4]