There can be many reasons why your gingerbread cake sank. If your batter sits too long, if it is undercooked or if you open and close the oven door often during baking your gingerbread cake can sink.