Peter Green (born Peter Allen Greenbaum, 29 October 1946) is a British blues rock guitarist. As the founder of Fleetwood Mac, he was inducted into the Rock and Roll Hall of Fame in 1998. Green's songs, such as "Albatross", "Black Magic Woman", "Oh Well", "The Green Manalishi (With the Two Prong Crown)" and "Man of the World", appeared on the record charts, and several have been adapted by a variety of musicians. Green was a major figure in the "second great epoch" of the British blues movement.

Green was eventually diagnosed with schizophrenia and spent time in psychiatric hospitals undergoing electroconvulsive therapy during the mid-1970s. Many sources attest to his lethargic, trancelike state during this period. In 1977, Green was arrested for threatening his accountant Clifford Davis with a shotgun. The exact circumstances are the subject of much speculation, the most famous being that Green wanted Davis to stop sending money to him. In the 2011 BBC documentary "Peter Green: Man of the World", Green stated that at the time he had just returned from Canada needing money and that, during a telephone conversation with his accounts manager, he alluded to the fact that he had brought back a gun from his travels. His accounts manager promptly called the police, who surrounded Green's house.  In 1979, Green began to re-emerge professionally. With the help of his brother Michael, he was signed to Peter Vernon-Kell's PVK label, and produced a string of solo albums starting with 1979's In the Skies. He also made an uncredited appearance on Fleetwood Mac's double album Tusk, on the song "Brown Eyes", released the same year.  In 1981, Green contributed to "Rattlesnake Shake" and "Super Brains" on Mick Fleetwood's solo album The Visitor. He recorded various sessions with a number of other musicians notably the Katmandu album A Case for the Blues with Ray Dorset of Mungo Jerry, Vincent Crane from The Crazy World of Arthur Brown and Len Surtees of The Nashville Teens. Despite attempts by Gibson Guitar Corporation to start talks about producing a "Peter Green signature Les Paul" guitar, Green's instrument of choice at this time was a Gibson Howard Roberts Fusion guitar. In 1986 Peter and his brother Micky contributed to the album A Touch of Sunburn by Lawrie 'The Raven' Gaines (under the group name 'The Enemy Within'). This album has been re-issued many times under such titles as "Post Modern Blues" and "Peter Green and Mick Green - Two Greens Make a Blues", often crediting Pirates guitarist Mick Green.Answer this question using a quote from the following article:

what was he doing at that time?
Green contributed to "Rattlesnake Shake" and "Super Brains" on Mick Fleetwood's solo album The Visitor.