Melt butter in a large skillet over medium heat. Add shallot and garlic; cook, stirring, until softened, about 3 minutes. Add mushrooms, cooking until mushrooms have softened and released their liquid, about 4-5 minutes. Cook until liquid has evaporated, about 2 minutes more. Stir in parsley, salt and pepper. Let cool.