The vehicle was in an accident and now the hood will not open.
It seems the accident may have damaged the mechanical linkage and has caused it to bind. I would recommend heading to a collision center that can assist you and release the connection. As the vehicle is already damaged, releasing the hood yourself is dangerous and may cause more damage.
Have a car question? Get free advice from our top-rated mechanics.