 Harvey suffered a heart attack before a league match against Cambridge United in November 2005.Whilst Harvey was given time off to recuperate, McIlroy was installed as caretaker manager.McIlroy took Morecambe into the play-offs during Harvey's absence, and on Harvey's first day back after his illness in May 2006, he was sacked with McIlroy being installed as permanent manager in his place.