In a cast-iron skillet, brown apples in oil on one side. Add shallots and cabbage and sauté until tender. Finish with vinegar, thyme, salt, and pepper.