The Met was keen to stress that officers were some distance away from the Duke and Duchess of Cambridge's home when the royal protection officer accidentally fired a gun and that no one else was at risk.
Prince William or Flight Lieutenant Wales as he is known in his capacity as a RAF search and rescue helicopter pilot, captains Sea King helicopters from his unit's base at RAF Valley in north Wales.
Police would not comment on the type of gun, but royal protection officers routinely use 9mm Glock 17 pistols.
More top news
Three security staff at a Vauxhall nightclub have been cleared of manslaughter after a man they restrained passed out and later died
A family is homeless after a fire in their tumble dryer. The family had been in touch with the manufacturer after a recall notice went out.
The crew's union Unite said the airline was "joining the 21st century" following a two-year row over the issue.