T. semihyalinata will happily fold over a leaf or two of the hostplant and pupate therein. Most Limacodidae will do likewise.
I now think this is probably a Limacodidae rather than the burnet moth (photo of T. semihyalinata larva (3rd and final instars) & cocoon attached f.y.i.)
cheers,
Roger.