I think that there was one that came back to port after the war was over and surrendered, it was one of the latest models, was equipped with a snorkel, and was the largest class ever built. Guess I'll have to look up some info on them. :)
The one I read about was a Type XXI. Pretty cool boat. :D