The nuclear weapon aspect would certainly explain the secrecy lid clamped on the sub's presence. And the Germans had a design for an A-bomb that didn't require a great deal of refined plutonium, just the more common U-235/U-238.
Hmmm, wasn't there a German U-boat shipment of German uranium *yellowcake* intercepted en route to Japan....?
Yep. Found the info. it was U-234