3. Spread the grits in the pan to 1/2-inch thickness. Refrigerate until cold.
4. In a large skillet, heat the olive oil. Add all the mushrooms and cook, stirring constantly, until they release their liquid. Turn up the heat and let the liquid evaporate.
5. Add the beans, tomatoes, thyme, and sherry to the skillet. Bring to a boil. Let the mixture bubble steadily until the liquid reduces by half; set aside.
6. Cut the grits into 4 cakes. In another skillet, heat the butter and when it melts, brown the grit cakes on both sides. Reheat the mushroom mixture. Arrange a grit cake on each of 4 plates and ladle the mushroom mixture on top. Adapted from “Fresh and Honest’’