Over the weekend that ended with “Hamilton” winning 11 Tony Awards, Lin-Manuel Miranda and his family stayed at the Mandarin Oriental, a luxury hotel near Columbus Circle.

Mr. Miranda and his wife, Vanessa Nadal-Miranda, were staying on the 46th floor, while his mother and father were on the 47th. The day of the awards ceremony, a Sunday, began with the playwright and his father, Luis A. Miranda Jr., having a room-service breakfast at 6:15.

Later that morning, the creator and star of “Hamilton,” along with fellow cast members, rehearsed for the awards ceremony at the Beacon Theater, about 15 blocks north of the hotel. During downtime, as the first grim reports out of Orlando, Fla., were circulating, Mr. Miranda took out his phone and began to tap out the sonnet he would read aloud that night while accepting the Tony for best score. In 14 lines he paid tribute to his wife, his son and the victims of the massacre.

Back at the Mandarin Oriental before curtain time, he realized he would need a printout of the verse he had written. He called the suite where his father was staying and asked him if he wouldn’t mind taking care of it. Luis, 61, said yes, and traveled down a flight, where his son handed him a thumb drive. Lin-Manuel had one stipulation: “He said, ‘Can you please not read it?’” Luis said, recounting the night by phone from the office where he works as a political consultant.