Leaving the sprinkler on overnight can cause significant damage to plants due to overwatering, root rot, and increased susceptibility to diseases. However, swift action and proper care can help salvage the garden.