I believe this plugin will do it: https://www.thebuddyforum.com/honor...warcraft-disconnecter.html?highlight=logmeout
Either use logmeout as solo1420 stated or use AntiCap to just buy the stuff you want and move on better alternative if you plan to afk (not recommended as you may know) https://www.thebuddyforum.com/honorbuddy-forum/plugins/pvp/136321-anticap-buy-honor-other-gear-before-you-hit-cap.html