 In 1978 , when Barrett 's money ran out , he moved back to Cambridge to live with his mother . He returned to live in London again in 1982 , but lasted only a few weeks and soon returned to Cambridge for good . Barrett walked the 50 miles ( 80 km ) from London to Cambridge . Until his death , Barrett received royalties from his work with Pink Floyd from each compilation and some of the live and studio albums and singles that featured his songs ; Gilmour said that he " made sure the money got to [ Barrett ] . " 
