As in the link posted above, benzos (including diazepam) stay in your body for an incredibly long time after the effects have gone. Very high doses will still be in you at some level for weeks and weeks.
I think it was probably that it helped you to relax a bit (or a lot!) and once you'd finally had a good chance to relax your body kept it going for you