I suppose you could take it off the bed, measure very precisely the height, print just the remainder (by altering the model and re-slicing) on the bed, and glue it to what’s already printed. It would almost definitely still have a visible seam and aside from that, I can’t think of a way to save it.
Far be it from me to dissuade anyone from applying the solution of 3D printing to any problem, but why not just buy one of those universal suction-cup-type flag car flag pole mounts and sticking it to the hatch itself?
Or maybe get a trailer hitch installed and use one of those flag poles that connect to a trailer hitch.
Mind you, those things I’m talking about tend to be made of steel. Definitely wouldn’t want your flagpole coming off on the highway or atop a bridge and impaling someone in another vehicle.
And, I’m not sure what legal considerations there might be for this venture, so it might be best to do your research. I know in my area, if anything sticks out too far out the back of your vehicle, you’re legally required to add a red piece of cloth or something. There are probably maximum lengths you may be allowed for a flag on your car.
If you insist on a 3D printed solution:
You know. Just… be careful about the whole endeavor.