The actor filmed Jack's swan song late last year, which saw the long-standing Weatherfield resident reunited with his late wife Vera as he passed away peacefully.
Tarmey has now revealed fresh details of his last moments on the Street in his new autobiography Jack Duckworth and Me, extracts from which appear in The Sun today.
Writing in the book, the 70-year-old confessed that he inserted Captain Kirk's final words from Star Trek: Generations into Jack's own last bow.
Tarmey explained: "According to the script I was supposed to say 'I'm tired, Vera'. But I couldn't resist making a minor addition to my farewell speech. I've been a lifelong fan of Star Trek since it first appeared and I remembered the last words of Captain James T. Kirk.
"As he took his final breath, he said, 'Oh my,' as if death was another great adventure. As a dedicated Trekkie, I decided to pay my own tribute to Captain Kirk and his crew by adding those words."
Tarmey added: "I thought I'd see if I could get away with it - and I did. So I changed the dialogue and said, 'Oh my. I'm getting tired now, Vera'."
Coronation Street recently secured the 'Best Exit' gong at the British Soap Awards for Jack's death scene.
> Bill Tarmey: 'I couldn't stay still filming death'
> Read our Coronation Street spoilers and news