 After being arrested by the royal guard and sent to prison, Gibbs manages to steal Jack's map and memorize it.That night, after Jack Sparrow escapes the palace, Gibbs is sentenced to hang anyway.He is surprised to see that Barbossa is now a privateer in the service of the King.