I've merged your new topic with your original as this is just a continuation of the problems you're having with the hatch.
I'm gonna refer back to my previous post.
Rogue One wrote: ↑Tue Mar 10, 2020 5:58 am
1) You've got a wiring short somewhere.
2) There's a problem with the BCM (Body control module).
If you're going to trade it in at a dealership, I wouldn't waste the money on repairing it. Right now dealerships are desperate to make up for lost sales due to COVID-19 so they may not penalize you for it. And if they do it will probably be as much as what you'd pay to have it fixed, so it's a wash.
EDIT: When you take it in, do NOT mention any issues. I don't know what level your horse trading skills are, but there's some excellent videos online on how to get the best deal and how to haggle with a dealership.