How to stop a camera who is animated by a rotating component in terms of script

Well it won’t stop rotating, even if i had done the other script to deactivate it’s trigger sphere and lights temporarily for 5 seconds to be frank.