Here's what that idiot is thinking: he totally regrets what he just did.
Tris shows up and spills the beans about just how stupid this was. Nita was trying to steal the death serum to start a war, and Uriah is probably dead.
It doesn't take long for Tobias to find out his own fate. It's a good thing that he is seen as genetically deficient: they basically let him off with a slap on the wrist because he's too much of a genetic reject to know better.
Nita, on the other hand, gets life in prison.
Tobias leaves the holding cell crying because his actions might have killed his best friend. Sad day at the Bureau, folks.