The most common reason for a sinking zucchini cake is that the batter was mixed too quickly. Make sure to keep your mixer on a low setting, and add the ingredients slowly. Rushing will create too many air bubbles causing the cake to deflate as it cools.