do not forget that flying a white flag has never been a sign of surrender, it is a protective sign of truce or ceasefire, contrary to striking the colors. As U-boats didn't fly theirs colors there was never signs of surrender except for the crew abandoning ship.
for more information:
http://en.wikipedia.org/wiki/Striking_the_colors