<P> In Saint Martin, a young astronomer and horologist named Carina Smyth is sentenced to death for alleged witchcraft but escapes custody . She briefly crosses paths with Jack, who with his crew tries to steal a bank vault, but accidentally drags the entire bank with them and loses the fortune before crashing the building at the town's exit and escaping . Jack's crew ends up abandoning him, even Gibbs, who has lost faith in Jack after years of Jack and his crew experiencing nothing but bad luck . Depressed, Jack trades his magical compass for a drink . However, this betrayal of the compass frees Salazar and his crew from the Devil's Triangle . Carina learns Henry is looking for the Trident's location and offers to help him using a diary left by her unknown father . Carina and Jack are both captured and face execution, but are saved by Henry and Jack's crew, setting sail on the Dying Gull . Carina deciphers that the stars will lead to an island where the Trident is hidden . </P> <P> Meanwhile, Captain Barbossa hears from his pirate crew that the revived Captain Salazar is killing several pirates at sea, and learns from a sea witch named Shansa of the Trident, which could possibly lead him to a new "treasure". Barbossa and his crew set off to find the Trident themselves, until Salazar and his crew appear and destroy Barbossa's fleet, but Barbossa manages to talk his way out of being killed by offering to help him find Jack, to which Salazar agrees . He tells Barbossa that long ago he worked for the Spanish Navy hunting down pirates . However, a young Jack tricked him into sailing into the Devil's Triangle, cursing his crew . Salazar pursues the Dying Gull, forcing Jack, Henry, and Carina to flee to an island while fighting off Salazar's cursed sharks, discovering that Salazar's crew cannot go on land . After saving Jack from a forced marriage, Barbossa allies himself with Jack and provides him his compass, obtained from Shansa . He uses the Sword of Triton to restore the miniaturized Black Pearl, trapped in a bottle by Blackbeard, to its original size . They all continue their journey to the Trident's island, with Barbossa taking command of the Pearl once more . During the voyage, Jack and Barbossa realize Carina is the latter's long - lost daughter . Barbossa tells Jack that he had left her at an orphanage with his diary so she could live a better life . </P> <P> Approaching the Trident's island, the Pearl evades a British Navy warship, which is destroyed by the Silent Mary before the Pearl runs aground on the island . Jack, Barbossa, and Carina use the island's magic to open a path to the Trident's spot on the ocean floor, parting the ocean . Salazar captures Henry and possesses his body, chasing Jack and the others across the ocean floor and seizes the Trident, freeing Henry . Henry shatters the Trident, breaking all curses upon the sea and restoring Salazar's crew to life . However, the divided sea begins to collapse in on itself . The Pearl drops its anchor to lift them to safety, but Salazar pursues them, still hell - bent on killing Jack . Carina realizes that Barbossa is her father when she spots a tattoo on his arm identical to the diary's cover . Barbossa sacrifices himself to kill Salazar, allowing the others to escape alive . </P> <P> Some time later, Henry and Carina reach Port Royal, where Will appears, free from the Dutchman . His wife, Elizabeth, appears moments later and the Turner family reunites . Jack watches from the Pearl in disgust before sailing away into the horizon . </P>

Who dies in the new pirates of the caribbean