The fate of the German U-boat U-1206 springs to mind as well, where failure to operate a toilet properly while sneaking around the Scottish coast led to flooding of the boat and a forced surface, upon which it was quickly spotted by the Royal Navy, bombed and scuttled.