Assuming your ancestor did serve with the 8th va. cavalry in 1865, this means he was transferred from the valley cavalry to what is generally called Fitz Lee's division, Payne's 2nd brigade.
These troops fought around five forks on March 30, 31 and april 2nd and served during the retreat to appomattox.
bryce