Later life and legacy
In summer 1804 Hunter was given command of the 74-gun HMS Venerable, serving with the fleet off Brest under Admiral William Cornwallis. While sailing out of Torbay on the evening of 24 November, a sudden fog came down. The ships of the fleet, unaware of each other's positions and their own location became disorganised. Hunter twice narrowly avoided colliding with other ships, but ran aground at 8pm on the cliff near Paignton, and soon afterwards bilged. A gale then struck the area, and with Venerable fast going to pieces, her crew were evacuated with little loss by HMS Impetueux. Hunter again underwent a court-martial, and was again fully acquitted.
Hunter was promoted to rear-admiral on 2 October 1807, and then to vice-admiral on 31 July 1810 but never hoisted his flag at sea. Vice-Admiral John Hunter spent his final years in his home town of Leith, living at 6 Cassels Place. He died at his London home at Judd Street, New Road, Hackney, London on 13 March 1821. His tomb can be seen in the churchyard of St John-at-Hackney.
The Hunter River and Hunter Valley north of Sydney are both named after him, as is the suburb of Hunters Hill in Sydney, the John Hunter Hospital in Newcastle, and the federal Division of Hunter. In 1986 he was honoured on a postage stamp depicting his portrait issued by Australia Post. HMAS Hunter the lead ship of the new Hunter-Class frigates of the Royal Australian Navy is named after him. The Hunter was laid down in 2023 and is expected to be commissioned in 2031.
He retired to his home town of Leith and lived at a then-new Georgian house at 5 Cassels Place, part of the still extant Georgian terrace at the foot of Leith Walk, and now renumbered as 34 Leith Walk.