Midnight Shadow claimed the spoils in the Paddy Power Gold Cup at Cheltenham after last year’s winner Coole Cody fell at the second-last when leading the field.