If you ever decide to try again, try replacing sugary snacks with meaty ones. Want a cookie? Eat a pepperoni stick. Want a slice of cake? Have some cheese. Fatty foods keep you satiated so the whole idea of sugar seem repulsive.
Fun fact: one of the strongest withdrawals I have experienced was sugary drinks. To make matter worse it was just the middle of summer and drink of cold coke seemed to be a blessing. So I went to the store, bought a 6-pack of sugar-free semi-keto-friendly Coke, put it in the fridge and never took it back. Just the fact that I could get it whenever I want seemed to help :)