You are not being ungrateful at all, they are being ungrateful to someone who has given them so many years of service!!!!
Good luck with speaking to them, but common sense would have seen you in a more suitable role at this time, hopefully you can work something out!