Meanwhile, melt 2 tablespoons of the butter in a large, high-sided skillet over medium heat. Add the shallot and garlic and cook, stirring frequently, until slightly softened, about 3 minutes. Stir in the mushrooms, salt, and pepper. Cook, stirring occasionally, until the mushrooms are browned and tender, about 5 minutes.