There’s a case for leaving it. As KPE said, pushing or hammering back may cause more problems. Loosening rivets, or possible cracking the aluminum. Aluminum doesn’t take its shape back like mild steel, once its stretched.
My Navigator was driven into a rock in a storm severely damaging the transom. All dealers and my insurance co pushed to total it. I contacted the factory, and they had a laundry list of reasons they couldn’t help. Motors, fuel, batteries shipping etc. With 40 years handling auto claims, I wasn’t buying it. Found a Alumacraft dealer 170 miles away. They removed the big motor, kicker fuel and 3 batteries. Then at the end of the model year at Alumacraft factory. The dealer loaded the boat on the semi that delivered a load of new boats and returned it to the factory. It was repaired in the factory in less than a week. But the entire process took most of the rest of fall and winter. It was better than new, as it lost the wood transom for an all-aluminum one. Probably saved me and the insurance company near $10k each not totaling it. Was happy with the repair, although the painter wouldn’t get a job in my shop. But on a fishing boat, it was fine.