Elsa is overwhelmingly joyous at the turn of events, shocked by the fact that Anna risked her life to save her. Anna responds by telling Elsa she loves her, and Olaf explains the act of true love was Anna's sacrifice, and that's what thawed her heart. These words from the snowman give Elsa the realization that the curse can be lifted, and that love is the key to doing so.
Realizing that love enables her to control her powers, Elsa is able to use this and focuses herself, removing the icy curse from Arendelle and bringing summer back to the kingdom. With peace restored, Elsa rekindles her bond with Anna and is praised by her people for freeing them from the curse, having learned she's far from a monster.
Elsa then resumes her position as queen, uses her abilities to give Olaf an ice cloud to prevent him from melting, cuts off trade with Weselton, deports Hans, the Duke and his men for their attempted assassinations, names Kristoff the Official Arendelle Ice Master and Deliverer, and creates a rink in the castle courtyard for the people of Arendelle to enjoy.
Elsa declares they'll never close the castle gates again now that she's finally accepted and makes a pair of ice skates for Anna, the two sisters then joining the celebration of harmony, having the fun they used to share together at long last.
THE END
