Most probably, I would have a certain reason of quitting if I win such huge amount of money but I couldn't promise it could be done quickly. That might take a lot of months to do, because you can't remove this on your system. The habits can be a normal routine, that isn't easy to do and you need to rehabilitate yourself first diverting on other type of extra curricular activities just to cope up from gambling. Not by losing such amount but once you've win certain amount of money that's merely a perfect time to initiate quitting.
Retiring from gambling can be one of the hardest things to do after earning such a large amount of money from gambling. We humans are only greedy, human greed never ends. Even if you are given the whole world at your fingertips, your desire/greed will not end. So when you earn $100,000 you will automatically create another new goal and you will be busy with that goal. You don't want to remember your old commitments.
But if you want to quit gambling altogether, that may not be possible. It will be easier if you want to gradually withdraw from gambling over a long period of time. In this case, when you earn $100,000, you should continue earning for a while and gradually withdraw from gambling or try to withdraw from gambling when you earn $90,000 out of $100,000. It is a difficult task to get out of gambling in one day after suddenly earning such a huge amount.