One of my "Golden Gourmet" shallots bolted and flowered ... I left it, hoping for some seeds, but on examination of the dead flower-head there were no seeds (well maybe one or two) but there were three tiny "top-set" onions, which I've popped into a tub of compost.
Is it unusual for shallots to have top-sets ... or do most people cut off the flower-heads before they can develop? The shallots themselves look fine, though I'll not count on storing them for an extended period of time.