Cover the pan of cake with plastic wrap or foil once cooled and keep stored in the fridge or at room temperature for up to a week. If you add frosting to the cake make sure to keep it stored in the fridge to help to prevent the frosting from spoiling. If you plan on leaving the cake as-is then it’s fine to hold at room temperature for the 5-7 days shelf life that it has.