The Shadowlands were originally intended to be a fully playable zone in World of Warcraft, designed for high-level play. The idea was that as deceased characters made their way back to their corpses, they'd see high-level players battling creeps in the area, which would inspire lower level players to increase their character level so they could experience the zone for themselves.
By and large, your failures in Torghast are measured in deaths, not with a timer. Dying repeatedly alerts the Tarragrue, a lumbering iron-clad creature that will appear at the level’s entrance and slowly move toward its end. If he sees any heroes, he will chase down and kill them. If he reaches the end of the level or kills all the players in the level, your run ends and you are thrown out of Torghast.
After being deposed as Warchief of the Horde in Battle for Azeroth, Sylvanas Windrunner travels to Icecrown Citadel in the Scourge-infested wastes of Northrend, and confronts the reigning Lich King, Bolvar Fordragon. Taking the Lich King's Helm of Domination from him, she tears it in two, shattering the veil between realities and opening a portal to the Shadowlands, Azeroth's afterlife. The Shadowlands have become warped in function during recent times. The Maw, a place in the afterlife reserved for the most sinful souls, is now absorbing all souls.
During the Burning Legion's third invasion, the Knights of the Ebon Blade traveled to the Shadowlands to acquire the Aggregates of Anguish, five tormented essences of powerful souls - Admiral Proudmoore, Soulbinder Nyami, Grand Empress Shek'zeer, Grand Apothecary Putress and Archmage Arugal. Salanaar required these to conjure the Steeds of the Damned for the order's new Horsemen.
Sometimes, the spirits roam the Shadowlands without resting. It can be because their resting place wasn't complete, because of a battle in their resting place or because of the corruption of their resting place. To bring eternal peace to the souls, it is needed to destroy the source of corruption or by making a ceremony with items such as [Tuskarr Ritual Object]. A spirit in the Shadowlands can, with enough power over other souls, tear a hole into the living world once they are strong enough. This is how Jin'do returned to Azeroth.