If you had to slam it, maybe you left something under the hood which is pressing up on it. Try having someone push down fairly hard on the front of the hood above the latch and see if you can get the handle to move. If it does, hold the handle while the other person lets go of the hood. Maybe you will find the cap to the washer fluid bottle or something else in there.