Missing you: Why Death In Paradise star Kris - and his character - bowed out
Death In Paradise's main character quit the Caribbean for the same reason as Kris Marshall who plays him - to spend more time with his loved ones in the UK.
The actor had previously announced that his decision for leaving the BBC detective series, which films in Guadeloupe, was to be with his young family who he missed while he was away.
In Thursday night's episode, his character Detective Inspector Humphrey Goodman, who was visiting London on a murder case, decided not to go back to the fictional island of Saint-Marie so that he could stay with old flame Martha (Sally Bretton), mirroring Marshall's real-life dilemma.
Marshall had told Good Morning Britain that it was no longer practical to bring his family along to filming as he had done for the first three years.
He said: "We had a daughter this time last year and so bringing her and my son - he's about to start school - it all became a bit of a juggling mission," he said.
"So that was really the reason behind it. So this last series I did do on my own, which was quite tough."
Marshall said using Skype to communicate with his family back home "leaves me bereft", adding: "I have to go and drown my sorrows in the bath."
The actor took over the lead role as Humphrey Goodman in 2014 after Ben Miller's Richard Poole, who had been the star since the series began in 2011, was killed off at a Cambridge University reunion at the start of the third run.
Father Ted actor Ardal O'Hanlon is the next person to pick up the baton of the Saint-Marie detective, after his London-based Detective Inspector Jack Mooney exchanged jobs with Goodman.
In an emotional scene at the end of the BBC1 episode, Marshall's character told Bretton's: "There's no point in me being in the Caribbean if you're going to be over here. Where you are is where my paradise is."
He added: "I'd like to stay with you in London forever."
Meanwhile, the recently bereaved Mooney and his daughter Siobhan, played by Grace Stone, travelled to Saint-Marie for a holiday and were told when they arrived that they may be staying for longer.
Fans of the series tweeted their sadness at seeing Marshall leave the role.
A Twitter user called @MattDAngeloFans wrote: "I love Kris Marshall in this. Please don't leave. #DeathInParadise."
Another under the name @Catsmith_93 tweeted: "#krismarshall thanks for being fab, we'll miss you! @HumphreyGoodman #deathinparadise."
Some viewers thought that Marshall's exit from the show pointed to him being a contender for the next star of Doctor Who after Peter Capaldi quits the Time Lord character.
One person under the name @IAmJoshua_ tweeted: "Nice send off for Kris Marshall in #DeathInParadise. Reckon he'd make a cracking replacement for Peter Capaldi in #DoctorWho."
Another called @SilveryLioness tweeted: "I find it really coincidental that Kris Marshall leaves #deathinparadise just in time to occupy the TARDIS in #DoctorWho."
O'Hanlon will star in the final two episodes of this series, which continues on BBC1 on Thursday at 9pm.