Not All Dogs Go to Heaven

Star Trek: The Next Generation's Patrick Stewart, Jonathan Frakes, Brent Spiner, LeVar Burton, Gates McFadden, Michael Dorn, Wil Wheaton, Denise Crosby, and Marina Sirtis all guest-starred as themselves, and Adam West and Rob Lowe appear at the end of the episode in a live-action scene.

Finally taking drastic measures, Meg spreads the word of Brian's atheism around Quahog, which generally hates atheists, turning him into a pariah.

Desperate, and suffering from delirium tremens (he hallucinates seeing several alcoholic beverages begging him to drink them), Brian fakes his repentance and persuades Meg to cease all hostilities against him so he can get back to drinking, but she takes him to burn books that are "harmful to God" (including On the Origin of Species by Charles Darwin, A Brief History of Time by Stephen Hawking, and a book titled Logic for First Graders).

Afterward, it is revealed that the entire Family Guy universe takes place within the molecules of a lampshade in the shared bedroom of Adam West and Rob Lowe.

[1][2] Former Star Trek: The Next Generation cast members have also made other appearances in Family Guy: Patrick Stewart, for example, briefly voiced Peter Griffin (normally played by MacFarlane) in "No Meals on Wheels" (season 5, episode 14), his American Dad!

[4][5][6] "Not All Dogs Go to Heaven" features the entire original cast of Star Trek: The Next Generation: Stewart as Captain Picard; Frakes as Riker; Gates McFadden as Doctor Beverly Crusher; Brent Spiner as Lieutenant Commander Data; Dorn as Worf; Sirtis as Troi; LeVar Burton as Chief Engineer Geordi La Forge; Wil Wheaton as Wesley Crusher; and Denise Crosby, whose character Tasha Yar died during Star Trek: The Next Generation's first season.

[7][8] It is also the first time the cast, minus Crosby, has worked together since the 2002 feature film Star Trek Nemesis, although the actors did not meet when they recorded their speaking parts.

Patrick Stewart ( pictured in 2017) voices himself in this episode