At the 1874 general election, Shaw was elected unopposed for County Cork, and with Mitchell Henry, often deputised for Home Rule Party leader Isaac Butt. He remained loyal to Butt, and when Butt died in 1879, Shaw was selected as the new party chairman.[1]
Shaw held his seat at the 1880 general election, but lost an election for the party chairmanship, to Charles Stewart Parnell. Parnell distanced the Home Rule League from the Liberal Party, but Shaw continued to sit on the Liberal benches in the House of Commons, and was appointed to the Bessborough Commission to examine Irish land tenure. Shaw opposed the Irish Land League, formally left the Irish party group in early 1881, and resigned from the moribund Home Rule League in December.[1]
Shaw devoted increasing amounts of his time to his chairmanship of the Munster Bank, and did not stand for Parliament at the 1885 general election. Later in the year, the Munster Bank collapsed, and Shaw was declared personally bankrupt. He moved to London and worked with various newspapers in the last years of his life.[1]
Shaw died on 19 September 1895 in Enniskerry, County Wicklow. He died from Cardiac Failure aged 72.