Madonna contemplated suicide during the custody battle over her son Rocco Ritchie.