Why is this so complicated?
You quit gambling the moment you stop betting, and the moment you place another bet you relapse, simple as that.
The moment you fail to restrain yourself fr putting up a bet is the moment you realize you failed to quit, one week one month 6 months, you still haven't quit you just managed to take a break but you're back gambling.