By April 1978, the Australian Federated Union of Enginemen had placed a ban on the 42 class operating as lead engines due to cab conditions. In 1980, 4201 had its cab upgraded during overhaul to overcome these issues, but with their replacement imminent it was decided not to treat the rest of the class. All were withdrawn in 1983.
Three have been preserved. A fourth was preserved, but this has since been mostly cut up:
4201 was acquired by the New South Wales Rail Transport Museum. It has been used extensively on charters across the state and ventured interstate to Melbourne. It retains the green and yellow livery it received for the 125th anniversary of NSW railways in 1980. As of 2014 it has been undergoing repairs at Maintrain, Auburn.
4203 was acquired by a Caravan City Cowra, Cowra, NSW. and placed on display alongside the Mid Western Highway at the entrance to the War, Rail, Rural Museum. It was later sold and the body was cut into three sections; while the central section was scrapped, O'Donohughes Irish Pub in Emu Plains brought the cab and rearmost section of the body and welded them together for use as playground equipment. The bogies and fuel tank were sold to enthusiast groups for use as spare parts.