Yes, for food safety reasons, it's essential to refrigerate the compote when not serving it immediately.