Question: where did they film man with the golden gun

title: Octopussy
text: Bond and Octopussy return separately to India . Bond arrives at Khan 's palace just as Octopussy and her troops have launched an assault on the grounds . Octopussy attempts to kill Khan , but is captured by Gobinda . While Octopussy 's team , led by Magda , overpower Khan 's guards , Khan and Gobinda abandon the palace , taking Octopussy as a hostage . Bond pursues them as they attempt to escape in their plane , clinging to the fuselage and disabling the tailplanes . In a struggle with Bond , Gobinda takes a deadly plummet off the roof of the plane and Bond rescues Octopussy from Khan , the pair jumping onto a nearby cliff only seconds before the plane crashes into a mountain , killing Khan . While M and General Gogol discuss the transport of the jewelery , Bond recuperates with Octopussy aboard her private boat in India .