Anthony Jeff, 32, was arrested Monday night on a parole violation and resisting police.
Officers say they tried to get Jeff out of the closet, but he refused to surrender.
Officers finally broke through the door and they say Jeff started to fight.
Investigators say they found a large knife underneath Jeff as he was being taken away from the apartment.
Jeff was on parole for trying to run down a Clovis police officer with a vehicle.
Police say Jeff is a member of the Bond Street gang.