He fled and escaped โ he was never captured.
As his palace collapsed, Khalid slipped away to the nearby German consulate and claimed asylum. When Britain demanded his arrest, German sailors smuggled him out a window and onto a boat to German East Africa. He lived in exile for years before the British finally caught him in 1916.