If the cake is undercooked overall, put it back in the oven for 10-15 minutes. If the middle part is still wet, cover the cake with foil and bake for up to 15 minutes. If the bottom is moist, turn off the upper heat or cover with foil, and cook for a few minutes.