The lives of the Enterprise crew are endangered when the ship suddenly develops its own intelligence.