Car still driving on the day of deregistration

I have to return a purchase contract again, due to considerable defects in the purchased car. Since the dealer is about 200 km away and I want to hand over the vehicle as deregistered as possible, the question arises whether I can still drive the approximately 200 km with the deregistered vehicle on the day of the deregistration. I have to hand in the car registration certificate and only receive a deregistration certificate. I would be pleased about the answers.