He then unsuccessfully fought Edinburgh East at a by-election in 1947, and finally was beaten once more at Dundee West in 1951.
In the electoral contest of 1947, he faced defeat in Edinburgh East. He also lost to Dundee West in 1951.