The 23-time Grand Slam champion beat Putney’s Cameron Norrie in straight sets, and Serbia won the overall tie 2-0.
He told supporters, who seemed to have annoyed him by heckling and playing a drum, to ‘learn some respect.’
The loss means Leon Smith’s GB team won’t automatically qualify for the 2024 knockout stage.