When an onion bolts it will produce a straight flower stem and the bulb will stop growing.