How does the whole diabetes related coma happen?

Usually at. Extremes of blood sugar, either low or high. Luckily it's not very common if you're practicing good diabetes care. See diabetes.Org for more info.