I thought this was June 2019, not 2018 but thought I'd comment anyway. What you likely saw was the last shed of this caterpillar before pupating. They shed 5 times, the final is when they pupate after burrowing in the ground. The "skin" gets thicker in this near final stage and less digestible...