Complex sentence: Anything dragging from the train will hit this cone, thus pushing it back, thus breaking a contact Then it returns to its normal position to prepare for anything else that might be dragging under the train.
Split into simpler sentences: Anything dragging from the train will hit this cone, thus pushing it back, thus breaking a contact. It then returns to its normal position to prepare for anything else that might be dragging under the train.