Star Trek: Generations

In 2293, retired Starfleet officers James T. Kirk, Montgomery Scott, and Pavel Chekov attend the maiden voyage of the USS Enterprise-B. During the shakedown cruise, Enterprise is pressed into a rescue mission to save two El-Aurian refugee ships that have been snared by a massive energy ribbon. Enterprise is able to save some of the refugees before their ships are destroyed, though one of those saved unsuccessfully pleads to be returned to his ship. Enterprise becomes trapped by the ribbon, and Kirk goes to a control room to help the ship escape. While Enterprise is freed, Kirk is presumed dead after the trailing end of the ribbon hits the ship's hull where he was working.