On 8 May, Germany surrendered unconditionally; the remaining naval units, including the surviving U-boats, surrendered to Allied forces. At least 150 U-boats were surrendered to the Allied navies, either at sea or at their operational bases. 52 boats were surrendered at sea, either on patrol or in transit, and 98 in port, mostly in Norway and at bases in Germany, Denmark and France.