It is totally ok to leave the baby in a place of your sight or inside their crib alone for some time when they are being fussy. It gives you a break to breathe as a crying baby can be frustrating over a period of time. This also encourages them to soothe themselves. But make sure you do go back to them in some time because the assurance of your presence makes them feel more safe and secured.