Hi,
At the outset, your decision to resign looks to be a bit of an hot-headed, emotional, instinctive or spur of the moment decision – although Antara of (5th &) 8th lord Mercury/Budha was bound to bring about sudden change/transformation. It will also be a bit trying and testing – specially so in the midst of Saturn/Shani-dev’s Maha-Dasha (mind you, he is Chara Atmakaraka for the birth-chart). But then, given that Mercury/Budha is placed in the 12th house of Vyaya/Losses/Distant or Foreign Land, I hope there is a silver lining with your Karma instigating this decision, for Mercury/Budha is very well and strongly placed in D-10 or Dasamsa.
That said, (thankfully) you’ll soon be starting Pratyantara of Raja Yogakaraka Venus/Shukra in the next few days (hopefully in your notice period) and either better sense prevails or you’ll have a good/better opportunity present itself. Ideally though, I’d suggest that you start looking for a good/better options – right away.
Take care..