2 employees were supplying 2 section. The outby motorman told the inby motorman to drop down 10' to be lined up to unload. When the inby motorman applied the brakes, the trip started sliding downgrade toward the mainline switch. The inby motorman stated EE was ejected when the motor derailed at the mainline switch.