Keep leftover cake stored in an airtight container in the fridge. This will not only keep the cake from absorbing any lingering smells in your refrigerator but also help the cake keep its shape.