hi, sis.
you already said it-- "get out from there." only you can decide.
i know, i know, we are living in a competitive environment, and we are still experiencing a global meltdown. it is very important to be employed, but sometimes, you also have to think if what you have (i mean your work) is something really worth it.
i might have not been into your shoes, but i definitely know how it feels to "lose your confidence" at work. mine is just of a different context though. i lose confidence in the sense that i am slowly realizing the TRUTH in government agencies.
when i was still in college, and even when i was jobhunting, i shunned the idea of applying in a government institution, although i already have a civil service professional eligibility (a requirement). maybe i was just appalled at how things "work" in the government. iba kasi sa private. yun nga lang kung security of tenure at good pay with less workload ang hanap mo, go ka na sa gov't. office.
going back to your prob, sis, have you reflected re: possible reasons they transferred you to that department? i mean, the other reasons aside from saying na undermanned ang department/unit na yan? usually kasi pag ganyan, either may "manok" sila to replace you sa previous position mo, or they have some issues with you...pwedeng personal, work ethics, etc.
experience ko kasi dito sa amin, nililipat kapag napag-iinitan ng BIG BOSS. others are forced to resign pa nga. but that doesn't necessarily mean incompetent sila. basta hindi lang sila "type" ng pinaka-boss.