Allow the leftover cottage pie to cool slightly but do not let it sit out at room temperature for more than 2 hours. Cover the pan tightly with aluminum foil or plastic wrap. Properly stored, the leftover will last up to 5 days in the fridge or 2-3 months in the freezer.