@ariff it's possible to rotate the sub gear back into position and to insert a bolt without disassembly. You may have other reasons to take things apart but if you don't want to get into that you can use the holes on the subgear face as a way to grab onto the subgear and rotate it to the point where you can insert the bolt. Here's what I did in this situation. Keep in mind there are likely better/easier ways etc., this was just the easiest/safest way I thought of to do this without another set of hands or a vice.
- find an allen wrench that is the size of the three holes in the subgear, you want it to be close in size to the hole.
- trim a thick, firm piece of rubber to cover the cam bearing surface just in front of the subgear
- get a prybar of some sort, like a long screwdriver, the right size/shape will become more clear as you get setup
- get a bolt to go through the cam gears.
- place the came in a safe/soft place, I don't recall if I used my workbench or my lap but I was very careful to keep the cam clean and away from any hard surfaces
- rotate the main gear so that the threaded hole is towards you and will be easy to insert the bolt into one handed
- place a wrench on the appropriate spot on the cam to help keep it from rotating
- insert the allen wrench into the subgear hole that is on the far side of the cam from you
- place the rubber pad over the bottom of the bearing
- pry on the allen wrench and the rubber pad to rotate the subgear until you can insert the bolt and thread it in, you'll need to rotate the subgear clockwise the distance of about one tooth to get the holes to line up. Basically, with no preload the gears line up but are only one tooth off between the sub and main gears so the sub gear doesn't have to travel far to get back to preload.
With the right prybar it doesn't take much force to rotate the subgear carefully. I think I used a long screwdriver. I also think that I used my lap to hold the cam as that helped me hold it into place with my leg to free up a hand to insert the bolt. It's a bit of a contortion trick but wasn't hard to control or do at all. A helper or proper vice setup would make this very easy as they could secure the cam. The most important thing is that you don't damage the cam, particularly the bearing, lifter or gear surfaces. I was confident that I would not damage the bearing surface when I pried because the padding was very stiff rubber/plastic about 1/4" thick that had a good level of give/cushion. Also the prybar was not presenting any sharp edges or pressure points.
Anyway, long response but wanted to share another option. I'm guessing you may be able to think of better options (like using a vice) or may hear some good feedback from others here. Hopefully the gremlin only pulled the cam without the bolt and didn't disassemble things further, which does seem likely to me.