Question about the grimoire and the exchange

So when it’s comes to the grimoire and the exchange with Blitz and Stolas. Does Stolas have it for the full day then he gives it back to Blitz or what happens? I never really understood that whole thing.