Onions are biennial. The first year they bulb, the second year they flower. If you leave an onion in the ground over the winter, the bulb will not continue to grow the second year. Instead, the onion will go into flowering mode. Leave an onion or two in the ground over winter if you want to collect seeds at the end of the second season. Be sure to leave only one variety to prevent cross pollination.