How did Jack Sparrow escape the Kraken?

He didn't, and that was why he charged into it at the end of dead man's chest. He doesn't escape the Kraken , but he does infact live, because in the third movie 'At Worlds End' Barbosa, Elizabeth and Will + Crew Travel to Davy Jone's Locker in search of Captain Jack =)