Huddersfield Town boss Neil Warnock is to leave the club after their home game against Stoke City on Wednesday.
The 74-year-old came out of retirement in February to save the Championship side from relegation to League One.
He then reversed his decision to leave at the end of the campaign and signed a one-year deal in the summer.
However, despite winning their past two matches, Terriers chief executive Jake Edwards said they are "ready to make a longer-term managerial appointment".
Warnock said at a news conference on Monday that he is not retiring and his departure is not down to health reasons - and also revealed he was not part of the process to appoint his successor.
Wednesday's match with the Potters will extend the record he holds for most games managed in professional league football in England to 1,628.
"Jake and I always said that when the time came he was going to be straight up with me about it," Warnock said.
"Myself and Ronnie wish everyone here the best, we've had such a fabulous time since coming back.
"What we've done here has been amazing really, the way we feel about the club won't change.
"I wish the club the best of luck, and I'll miss the players - giving them stick, laughing at them, that's what keeps you young."
The veteran boss also dismissed suggestions that his exit was because of a falling out with American owner Kevin Nagle, who completed his takeover of the club in the summer.
Edwards told the club website both he and Nagle were "so grateful" Warnock and Jepson had agreed to stay on in the summer after the end of their short-term deals.
Warnock guided the Terriers to promotion to the second tier in 1995 during his first spell in charge.
He went on to win promotion to the Premier League with Sheffield United, QPR and Cardiff before announcing his retirement in April 2022 after a spell at Middlesbrough ended the previous October.
His retirement lasted less than a year, though, when he accepted an offer from previous Town owner Dean Hoyle to try to save the club from relegation from the Championship.
Seven wins from 15 games ensured an 18th-placed finish as they ultimately avoided the drop by nine points and, despite previously claiming he had no interest in staying on longer, Warnock signed up for a further season.
Huddersfield picked up just one point from their opening four games but back-to-back wins at West Bromwich Albion and at home to Rotherham have moved them up the table to 17th.
Analysis - Replacement for "tough act to follow" Warnock to be named by end of the week?
BBC Radio Leeds sports reporter Katherine Hannah
It's certainly never boring when Neil Warnock speaks to the media. Monday's announcement that he'll leave Huddersfield Town, along with assistant Ronnie Jepson, after Wednesday's home game with Stoke, lasted almost an hour.
Warnock is adamant there's been no fallout with the board, that he's in good health, and that he's definitely not retiring. If anything, his departure, after just six Championship games, seems to have further stirred the fire in his belly that he'll be back in football before too long.
Yes, he's looking forward to going back on tour, riding his bike and heading off to Italy with wife Sharon. But Warnock was keen to stress this move is very much the club's decision, and admits he's disappointed to be leaving.
As for who'll replace him? "Mind your own business!" was Warnock's retort when I put the question to Edwards. Whoever the club have lined up to replace him, he'll be a very tough act to follow in the eyes of Terriers fans.
Expect an announcement by the end of the week.