I am afraid that your understanding of the third form is incorrect.
is the equivalent of the English " **pluperfect** passive voice". There is no "progressive" expressed in this.
In English, it would be "had been caught (and had stayed in captivity since)".