Conversation so far:
Who was held in captivity?
Richard was captured shortly before Christmas 1192 near Vienna by Leopold V, Duke of Austria.
Why was he captured?
Leopold V, Duke of Austria, who accused Richard of arranging the murder of his cousin Conrad of Montferrat.
When was he released?
On 28 March 1193 Richard was brought to Speyer and handed over to Henry VI, Holy Roman Emperor, who imprisoned him in Trifels Castle.
What happened after he was imprisoned?
The money to rescue the King was transferred to Germany by the emperor's ambassadors.
What did Germany do?
finally, on 4 February 1194 Richard was released.
What did he do after being released?
CANNOTANSWER.
Is there anything else interesting?
While in prison, Richard wrote Ja nus hons pris or Ja nuls om pres ("No man who is imprisoned").
Did he write anything else?
He wrote the song, in French and Occitan versions, to express his feelings of abandonment by his people and his sister.
Did he do anything else while in in prison?
Richard famously refused to show deference to the emperor and declared to him, "I am born of a rank which recognises no superior but God".

Question: How did other's react to that?
Self-contained rewrite: How did the Emperor react to Richard I of England?