The Enterprise followed Kirk 's directions rather than returning straight to Earth .
`` Enterprise is ordered back to Earth by Starfleet Command to be decommissioned , but the crew decide to take their time on the return voyage , with Kirk telling them to set course towards the `` '' second star to the right and straight on till morning . '' '' ''
Star Trek VI-COLON- The Undiscovered Country