In the film's climax, Blackbeard and Barbossa duel at the Fountain of Youth. Barbossa stabs Blackbeard with a poison-laced sword, and Angelica accidentally cuts herself when trying to remove it from her father. As both Blackbeard and Angelica lie dying, Blackbeard asks his daughter to sacrifice herself to save him using a ritual at the Fountain, and Angelica willingly agrees. Jack Sparrow secretly switches the magical cups used in the ritual, thus sparing her life and killing Blackbeard. Meanwhile, Barbossa claims Blackbeard's magical sword, and, assuming command, leaves with Blackbeard's crew. Joshamee Gibbs then delivers all of Blackbeard's bottled ships to Jack.