Thrown in jail beside a young Vulcan who has been charged with plotting to sell Vulcan artifacts, a troublesome young James T. Kirk forges an uneasy alliance with his cellmate, Spock, with whom he is given a choice to stay imprisoned or to join Starfleet.