am i a bad mom?

my baby is 2 months old and I left her for 4 days with her grandmother my bf mother.... me and my bf went out the country because he has to do surgery and he ask me to come with him because he will be in pain and in out sleep and will need help.. he said his mother will watch the baby but I feel horrible leaving her