Never give up giving up...and I don't believe you ever 'lose' the knowledge you gain in sober time.
I do think there is something to learn from a relapse...time to re-evaluate what is or isn't working for you.
But never give up. The rewards of being sober are worth every bit of the struggle x