 He attained the rank of rear-admiral in 1852, and in the following year became a governor of Greenwich Hospital, and retained this post until his death.He died after long illness at Bad Ems in Germany on , but his body was returned to London for burial.He is buried in Greenwich Hospital Cemetery.