Hi Terry,
I know of several cases where color bearers hid their flags from capture. Many of them got them out after being exchanged but a few did get found by the Federals. I know of no instance where the color bearer hiding the flag was ever punished for that.