After some fiddling I worked out how to disconnect it from the pipe, and how to remove the impeller from its housing. More experiments showed that the pipe to the outside world was not blocked, and that the impeller could push water in to it, but with not enough strength to eject the water from the boat. I have ordered a replacement pump, fingers crossed we don’t take on too much water before I fit that.