IIRC, American officers have to pay back their academy or ROTC cost if they resign before they've served out their first hitch, but if that rule applies to Sandhurst and Harry I think his family could come up with the money.
From what I understand you can buy your commission back