Question: who pulled sam out of hell?
Answer: It is revealed that Crowley brought back Sam and 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.