Polyptoton

(Definitions)

"...had, having, and in quest to have, extreme..." -- Shakespeare, Sonnet 129

What is the term for a repeated word or phrase in the same sentence?

Polyptoton, from the Greek, "multiple cases", "many inflections".

Would the auctioneer's chant "Going,going,gone!" be another
example?