How does the sentence end?

He shoveled manure from the cage and put it in the wheelbarrow until the
cage was empty.