Is there a way to enable/disable a rigidbody?

I’ve noticed (Unity 5.5) that I can’t enable disable a rigidbody. I want to disable and reenable a rigidbody via script, is there a way to do this?

Have you tried setting it to Kinematic?

 Rigidbody _rb;
 
 void Awake ()
 {
     _rb = GetComponent<Rigidbody>();
 }
 
 // (...)

 _rb.isKinematic = true;  // Deactivated
 _rb.isKinematic = false; // Activated