He stood unsuccessfully for Labour at Epsom in the 1945 general election and in the 1945 Bournemouth by-election. In 1946, Shackleton was elected as Labour Member of Parliament for Preston in a by-election. In 1949 Attlee appointed him PPS to Minister of Supply, George Strauss. A boundary change divided Preston into two seats, and he was elected MP for Preston South on a much-reduced majority. The following year he was promoted to be PPS to Lord President of the Council and Foreign Secretary, Herbert Morrison, one of the heavyweight political figures in the post-war government. He was re-elected in 1951. In 1955, he was defeated and so Hugh Gaitskell recommended Shackleton to the Prime Minister. He was created a life peerby letters patent as Baron Shackleton, of Burley in the County of Southampton on 11 August 1958. Lord Shackleton delivered his maiden speech on 11 November in a debate on Wages Councils, a bill he thoroughly approved and welcomed to increase understanding between unions and management. In Harold Wilson's government, he served as Minister of Defence for the RAF 1964–67. He was sworn of the Privy Council in 1966, and made Deputy Leader of the House of Lords a year later. As Minister without Portfolio 1967–1968 and Paymaster General 1968 he had a seat on the cabinet. During the Aden Emergency he was sent on a Special Mission as British Resident to help with the withdrawal. Typically promoted by Wilson in an April, after the budget, he was made Leader of the House of Lords from 1968–70, and subsequently sat as Opposition Leader in the House of Lords. He was used again on the Wilsonian reforms proposed for the Lords, liaising between committees and sub-committees, designed to reduce the Lords delaying powers from two years to just six months, but the Prime Minister dropped the bill in April 1969 to "concentrate on priorities." Sitting on the committee for Civil Service Reform he successfully widened access to entry for scientists. From 1971, Shackleton was President of the Royal Geographical Society. Lord Shackleton was appointed a Knight Companion of the Order of the Garter in 1974. From 1976 until 1992 he was Chairman of the joint-Political Honours and Scrutiny Committee. Lord Shackleton's report, commissioned by James Callaghan described the economic future of the Falkland Islands, the value of the being British to the islanders, and how their lot could be improved. It included the invaluable role eventually played by HMS Endurance. Between 1988-89 he chaired the Lords Science and Technology Committee, which culminated in 1989 when he was elected a Fellow of the Royal Society under Statute 12. He also served as Chairman of the East European Trade Council In 1990 Shackleton was appointed an honorary Companion of the Order of Australia, Australia's highest civilian honour, "for service to Australian/British relations, particularly through the Britain–Australia Society. Lord Shackleton was Pro-Chancellor of the University of Southampton, in which role he was deeply interested in the development of geography at Southampton. A portrait photograph of Lord Shackleton was unveiled by his daughter the Hon. Alexandra Shackleton in December 1997 in the university's Shackleton Building, which houses the Departments of Geography and Psychology. In 1994 he became the Life President of the newly founded James Caird Society, named after the boat in which his explorer father and crew escaped Antarctica. He acted also as patron of the British Schools Exploring Society from 1962 until his death in the New Forest aged 83.
Personal life
In 1938, Shackleton married Betty Homan, and they had two children: the Hon. Charles Edward Ernest Shackleton and the Hon. Alexandra Shackleton.