Take another look at the fragment:
And grabbed the last glazed doughnut while Frederick was pouring her a cup of coffee.
You identified this item as a main clause. Unfortunately, we don't know who is doing the grabbing, so there is no complete thought, an essential element of a main clause.
You might want to review the rules.