I am so very sorry.
Poor Barney is no longer having to cope with those seizures, but I am sad for you that you weren't able to be with him.
Although, perhaps he knew it would be better this way, your last memories of him will be awake and well.
Run free Barney, and big (((HUGS))) to your family.