Well then, it sounds like it was a good move to just get rid of all of that soil.
If the gigantic caterpillar was in the soil, it could have been some kind of grub; or if something was eating the leaves of your plant-an armyworm. I think your plant will come back just fine.
Armyworm ~