In the fifth film, Jack is suffering a series of bad luck with the "Pearl" still trapped in a bottle due to Blackbeard's actions, to the point that he trades his compass for a bottle of rum. This results in the release of Armando Salazar, an undead Spanish pirate hunter whose death in a confrontation with Jack established Jack's own reputation. When faced with execution, Jack is rescued by Henry Turner- the son of Will and Elizabeth- who seeks Jack's help in finding the Trident of Poseidon, which gives its wielder control of the seas. At the film's conclusion, the destruction of the Trident breaks all curses on the sea, restoring Salazar to life in time for him to drown while fighting Jack while Jack reclaims the restored "Pearl" and Will is able to return to Elizabeth now that the "Flying Dutchman" no longer needs a captain.