49 C.F.R. § 229.79
When locomotives are equipped with both third rail and overhead collectors, third-rail shoes shall be deenergized while in yards and at stations when current collection is exclusively from the overhead conductor.