This isn't a dig at your mechanical skills, BUT, when that kind of thing happens to me I go back and revisit everything that I have touched or was even close to.
Bumping wires, pinching hoses, not reconnecting cables correctly....I have done all of those. The bike on the other hand has never broken all by itself during the time I was 'fixing' it.
1980 Vespa P200E
2006 BMW R1200GS
2012 SYM HD200 Evo