S1, E6: They return to Bristol and encounter Captain Cox who now blames all his misfortune on Captain Sharringham and denounces the man he believes to be the Captain to the Harbour Master. Jack does nothing to prevent this happening knowing that the real Captain Sharringham will be forced to try his own brother, Judge Sharringham, the man Cox has mistakenly accused. In the court the deception is exposed. Captain Sharringham is sentenced to be hanged. Jack insists on going to see the Captain in prison. The Captain does not agree that Jack kept to his bargain but gives him another chance if he brings a small silver tube which he can swallow to survive suffocation during the hanging, he will tell him the secret. Jack does this and he is finally told the truth.
