Beings from the Andromeda Galaxy steal the Enterprise, technologically modify it, and attempt to return home.