Episode 161: "Déjà Q" 

While orbiting Bre'el IV to investigate a descending asteroidal moon which could cause landquakes and tidal waves on the planet, the crew is surprised by the unexpected arrival of Q. Although Picard immediately suspects that the mischievous Q is responsible for the moon's deteriorating orbit, Q admits that his superiors in the Continuum have stripped him of his magical powers and made him human, thus unable to indulge in such chicanery.
Fearful that Q is lying, Picard assigns Data to keep an eye on Q while the crew deals with the perilous situation on Bre'el IV. But Q's presence on board the ship becomes problematic when the Calamarain, a gas-like life form with a grievance against Q, begins attacking him. Picard soon realizes that Q came aboard the U.S.S. Enterprise to receive protection from the Calamarain. But a short time later, the life form attacks Q again and in an attempt to save him, Data sustains serious electrical damage to his android body.

Moved by the injured Data's sacrifice for him, and aware that the crew will be unable to move the moon as long as it must use its shields to protect him, Q steals a shuttlecraft and heads into space, knowing that the Calamarain will follow him. As the force approaches the shuttlecraft, Picard orders the shields to be extended to protect Q, but they are inexplicably inoperative.

Inside the shuttlecraft, another member of the Continuum, Q2, appears beside Q and tells him that he is impressed by his selfless act and gives Q his powers back, but warns that he'll be keeping an eye on him.

A grateful Q suddenly appears on the bridge of the U.S.S. Enterprise with a band and confetti to thank the crew. When Picard asks him to leave, Q obliges, but not before thanking Data by using his newly regained powers to give the android the experience of a human belly laugh. After Q disappears, the crew receives a transmission from Bre'el IV announcing that the moon's orbit has been corrected. Initially confused, the captain realizes that Q has learned a little humanity and saved the planet himself.

Production: 161
Season: 3 Episode: 13
Air Date: 02.05.1990
Stardate: 43539.1
Patrick Stewart as Jean-Luc Picard
Jonathan Frakes as William Riker
Brent Spiner as Data
LeVar Burton as Geordi La Forge
Michael Dorn as Worf
Gates McFadden as Beverly Crusher
Marina Sirtis as Deanna Troi
Wil Wheaton as Wesley Crusher
John de Lancie as Q
Corbin Bernsen as Q2
Richard Cansino as Dr. Garin
Betty Muramoto as Scientist
After several unsuccessful attempts by the director to film Q's nude scene without forcing the actor to actually be naked, a frustrated John de Lancie finally asked anyone offended by nudity to leave, stripped down, and filmed the scene in one take.

 

Click this link to view the complete script in a TXT format
STAR TREK: THE NEXT GENERATION

"Deja Q"
#40273-161

Written by
Richard Danus

Directed by
Les Landau

THE WRITING CREDITS MAY NOT BE FINAL AND SHOULD NOT BE USED
FOR PUBLICITY OR ADVERTISING PURPOSES WITHOUT FIRST CHECKING
WITH THE TELEVISION LEGAL DEPARTMENT.

Copyright 1989 Paramount Pictures Corporation. All Rights
Reserved. This script is not for publication or
reproduction. No one is authorized to dispose of same. If
lost or destroyed, please notify the Script Department.

FINAL DRAFT

NOVEMBER 14, 1989

STAR TREK: "Deja Q" - 11/14/89 - CAST

STAR TREK: THE NEXT GENERATION
"Deja Q"

CAST

PICARD                                                     Q
RIKER                                                      Q2
DATA                              DOCTOR GARIN
BEVERLY                                SCIENTIST
TROI                                                              
GEORDI                                                        
WORF                                                            
Non-Speaking
GUINAN TECHNICIANS

ENGINEER'S VOICE

Non-Speaking
SECURITY GUARDS
SUPERNUMERARIES

Click this link to view the complete script in a TXT format