Terry Simmons (32) was reported to police on Tuesday last week after he was seen banging on front doors in St Andrews Road, Cambridge, demanding to be let inside and threatening residents with violence.
Simmons barged his way into one house, claiming he had Covid-19, before he was forced back outside by the residents.
When officers arrived they spotted him trying to flee but swiftly detained Simmons, who then spat at one of them as he was being put into the back of their van.
Motorcyclist, 22, from Peterborough killed in collision on A47 in Soke Parkway
Family's tribute to truck driver and father 'with a heart of gold' who died in A47 crash at Wansford
Storm warning issued for Peterborough after another hot, dry weekend
Fun day at Peterborough park returns after three years
Causing suffering to a Staffordshire Bull Terrier and assaults on police officers - Peterborough Magistrates' Court sentencing results revealed
As he was being booked into custody at Parkside Police Station he again lashed out, biting an officer on his hand.
At Cambridge Magistrates’ Court on Thursday Simmons, of Malletts Road, Cambridge, was jailed for 36 weeks after pleading guilty to two counts of assaulting an emergency worker, using violence to secure entry and using threatening words to cause alarm or distress.
He was also ordered to pay £125 in compensation.
PC Sean Feline said: “Assaults on emergency workers who are simply trying to do their job are completely unacceptable, even more so during this difficult time we are all experiencing.
“Simmons’ behaviour left residents, who had been following Government advice, fearing for their safety and their health.”