Former Thai premier Thaksin Shinawatra walked out of a Bangkok prison Monday, welcomed by the cheers from loyal supporters but as a diminished figure in Thai politics he and his family once dominated.