Heat 2 tablespoons of oil in a large skillet. Add shallots and sauté until tender, 2 to 3 minutes. Add mushrooms; cook until most of the liquid has evaporated, adding sage and thyme and seasoning with salt and pepper, about 5 minutes. Add sherry and lemon juice; continue to cook until liquid evaporates, a minute or so longer.