in the Shining did jAck reach his wife and son?

Yes, in the end of Stephen King's novel, "The Shining," Jack Torrance reaches his wife, Wendy, and son, Danny, after being possessed by the evil spirits of the Overlook Hotel. Jack ultimately sacrifices himself to save his family from the malevolent forces corrupting him.

how?

In the climactic final confrontation at the hotel, Jack is struggling with his inner demons and the influence of the hotel's dark energy. He ultimately overcomes the possession and regains his moral clarity when he sees his son Danny in danger. He fights against the hotel's control in a final act of bravery and self-sacrifice to save Danny and Wendy. Jack manages to break free from the hotel's grip long enough to tell Danny to run to safety before the hotel's supernatural forces take over completely, leading to his demise. This act of sacrifice allows Danny and Wendy to escape the hotel's evil influence and survive.

what inspired the movie and book?

"The Shining" was inspired by Stephen King's personal experiences staying at The Stanley Hotel in Estes Park, Colorado. King and his wife stayed at The Stanley Hotel during its offseason, where they were the only guests in the hotel. The eerie and isolated setting of the hotel sparked King's imagination and served as the initial inspiration for the story.

Additionally, King was influenced by his own struggles with alcoholism during the writing of "The Shining," which is reflected in Jack Torrance's character and his descent into madness fueled by his drinking. The novel also explores themes of isolation, family dynamics, and psychological horror, all of which are central to King's storytelling style.