Causing a train to leave its tracks; diverting from a planned course or topic.
Present participle of 'derail'. The metaphorical sense (going off-topic) developed in the 20th century from the literal railway meaning.
We use 'derailing' all the time now to mean getting off-topic in conversations, but the word comes from the real danger of trains leaving their tracks—which can kill thousands!
Complete word intelligence in one call. Free tier — 50 lookups/day.