If your cake collapses during cooling, this can mean one of several things. You may have opened the oven door, causing a large temperature difference which results in the cake collapsing. So carefully pull the oven door slightly ajar when checking whether the cake is cooked. It is also possible that the cake is not fully cooked, which means that it will collapse during cooling.