Taking a baby with you will never be 'more dangerous' than leaving a baby alone. That's basic level
How????
If a baby is left alone in a cot for 3 minutes, whether the parent is in the next room, the garden or has gone to the shop, there's a 99.99999+% chance that absolutely nothing bad will happen.
Of course there is a tiny chance that the house will set on fire, the baby will somehow escape the cot, get stuck, choke or have a medical episode, or the parent will have an accident, become ill, forget where they live or get abducted by aliens, but within that tiny window of time, the chance is very very very small and the parent being able to detect and do something about the problem will be the same whether they are in the garden, downstairs or even in the shop.
However, if the baby is taken to the shop, as well as the disruption of being taken out of the house in a rush, they are additionally exposed to risks of crossing the road, coughed on by a COVID sufferer or being dropped if the parent has the heart attack that people seem so certain that is going to happen.
So of course you should take your baby with you to the shop because when you get run over, you need to make sure your baby is also with you, so they get run over too.