 "U-504"s final patrol began on 27 July 1943 under the newly promoted "Korvettenkapitän" Wilhelm Luis.On 30 July the U-boat was sunk with all 53 hands, north-west of Cape Ortegal, Spain, at position , by depth charges from the British s , , and .