The USS Whorfin (NCC-1024) was a 23rd century Federation starship operated by Starfleet.
In 2293, the Whorfin was assigned a deep space exploration mission. The ship was named on a Starship Mission Assignments chart on the USS Enterprise-A bridge. (Star Trek VI: The Undiscovered Country)
This ship was not specifically mentioned, but was listed in several starship status charts seen on the sets in the movie.
This ship may be the class ship of the Whorfin-class.
The name of the ship may have come from Lord John Whorfin, a character in The Adventures of Buckaroo Banzai Across the 8th Dimension The in-universe explanation may be that this ship and the SS Whorfin may be named after the 22nd century Captain John Whorfin.
According to a ship listing included in the plans, and not seen in the extended cut of the movie, the Whorfin was commanded by H. Narita, and the ship was located in Sector 21399.
The ship's captain was named after the sixth movie's director of photography Hiro Narita.