Darren Swain, 57, became aggressive and abusive to staff at the discount store in Castleford as they supervised the queue into the store.
Staff had only been allowing a certain number into the store at any one time to ensure social distancing.
Swain attempted to jump the queue but was stopped by staff.
When he was prevented from getting inside the store, he coughed theatrically into the air while standing close to the staff and nearby members of the public.
He then gargled and spat in the direction of a female staff member, and laughed.
When police officers arrived at the scene, he spat at them also.
Swan was charged with common assault and two counts of common assault on an emergency worker.
He was sentenced to six months in prison at Leeds Magistrates Court on Thursday, April 16.
Gerry Wareham, Chief Crown Prosecutor for CPS Yorkshire and Humberside said: “Swain’s behaviour was both disgusting and dangerous.
"His actions potentially endangered not only members of the public who were patiently waiting their turn in the queue, but also the staff at Poundland, and the police officers who attended; all of whom were attempting to carry out their duties in challenging circumstances.
“Swain has now been sentenced to six months in prison.
"I hope this will act as a stern deterrent to anyone who is contemplating behaving in such a socially irresponsible manner.”