How does the sentence end?

The shopper took the bags from the cart and put them in the trunk of his car until the
cart was empty.