What happened was that the bike came to a dead halt in the road. I got off, had a look, couldn't find anything obviously wrong, got back on the bike and carried on cycling, only to have the experience repeated again. . . again. . . and again. . . . new chain and cogset, . . . a new back wheel, . . . the shop whose friendly staff suggested that the problem could be due to the rear wheel's skewer shifting under pressure, causing the tyre to rub against one of the frame's rear stays. At any rate, they replaced the (temp) QR skewer with a nutted one, and there has been a mild improvement.
Nevertheless, the problem still persists; that's to say the bike 'locks up' when I'm cycling uphill in bottom (20") gear . .