In that case his Gotra will end with him in that lineage because his daughters will belong to the Gotras of their husbands after their marriage!
This was probably the reason why in the ancient vedic or hindu societies it was preferred to have atleast one Son along with any number of daughters, so that the Gotra of the father could continue. Why should only Sons carry the Gotra of their father, why can’t daughters?
But again I used to think, what a crap, how can a boy and a girl belonging to two different families who haven’t met for centuries be considered as siblings?
So the rule of the Gotra system is that the Gotra of men remains the same, while the Gotra of the woman becomes the Gotra of their husband after marriage.
Now suppose a person has only daughters and no sons.
How does the Gotra of a daughter change just because she marries a person belonging to a different Gotra?
What is the necessity of maintaining only the man’s ancestry, why not maintain that of women too?
Every Gotra which is a derived Gotra maintains a list of Pravaras attached to it.