Heat an ovenproof 12in/30cm round heavy based pan over medium heat. Add the butter and let it melt, then put in the mushrooms, leeks, thyme and garlic and increase the heat to medium high. Cook, stirring occasionally, until the mushrooms have softened and shrunk a little. Add the sherry, salt and pepper, and continue cooking until the leeks are quite soft and the mushrooms have cooked down to about a third of their volume. It’s fine if there’s a little liquid in the pan, but the vegetables shouldn’t be swimming. If the leeks are starting to brown before the mushrooms are cooked, reduce the heat slightly to stop them burning.
2 tbs butter, 1 lb mushrooms, 2 leeks, 2 stalks thyme, 2 cloves garlic, 2 tbs dry sherry, 1 tsp salt, ¼ tsp ground black pepper