Denham quits St Philip's