What were your test numbers, as in CL, CC, Alk, Ph, Cal, and most important CYA?
You may have had the beginnings of an algae bloom, that's why you couldn't hold chlorine. You can't hold chlorine if the chlorine is fighting something.