MY ALARM WOULD NOT STOP AFTER IT

After consulting my owners manual which suggests that I lock and unlock the side cars and/or trunk, I did. However, my car door locks are not working and have not been for months. So the only locking device I have been using is the trunk. Today, I locked the trunk and unlocked it after I came out of the store, the alarm light started flashing. After several attempts, the alarm system was triggered and the would not go off. We unhooked the battery and hooked back the battery, the alarm still came back. Anyone out there who can give me some help? Thanks.