Some plants will mature after vegging for a period of time regardless of photoperiod.
If you don't plant to breed and make seeds, pull it, however know that seeds made in your garden will have an imprint of their environment so their offspring can thrive in it