We're not sure we'd have the fortitude to try that scene again after an experience like that. It sounds like the second take went fine. It's not clear what they did to calm the monkey down. Although, if you look at the way the final scene ended up in the film, it would appear they didn't even need Danny DeVito to be there, an animal trainer with a Penguin glove could have made it work. Danny Devito and the monkey are never actually in the shot at the same time.