<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def cycle(self, channel):
 """ Rejoin channel. """

        if not self.in_channel(channel):
            raise NotInChannel(channel)

        password = self.channels[channel]['password']
        await self.part(channel)
        await self.join(channel, password)