I know that the scapes on garlic need to be cut in order for the bulb to grow. Is that true of the shallot 'flowers'? I don't know whether to leave them or cut them.
What to Do With Shallot ‘Flowers’
Certified GKH Gardening Expert
Shallot flowers are round like an onion, but they don’t get that distinctive scape appearance. Grow shallots as you would onions. During the growing season, some of the leaves may be cut at the ground level and used as green onions. Plants that are not heavily cut will proceed to form many bulbs attached together forming a clump. Shallot bulbs often develop on top of the ground.
Here is an article that you may find helpful: https://www.gardeningknowhow.com/edible/vegetables/shallot/tips-for-growing-shallots.htm